diff options
Diffstat (limited to 'deps/npm/node_modules/p-is-promise/index.d.ts')
-rw-r--r-- | deps/npm/node_modules/p-is-promise/index.d.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/deps/npm/node_modules/p-is-promise/index.d.ts b/deps/npm/node_modules/p-is-promise/index.d.ts deleted file mode 100644 index 662d9e0c420..00000000000 --- a/deps/npm/node_modules/p-is-promise/index.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -declare const pIsPromise: { - /** - Check if `input` is a ES2015 promise. - - @param input - Value to be checked. - - @example - ``` - import isPromise = require('p-is-promise'); - - isPromise(Promise.resolve('🦄')); - //=> true - ``` - */ - (input: unknown): input is Promise<unknown>; - - // TODO: Remove this for the next major release, refactor the whole definition to: - // declare function pIsPromise(input: unknown): input is Promise<unknown>; - // export = pIsPromise; - default: typeof pIsPromise; -}; - -export = pIsPromise; |