diff --git a/lib/npm-check-updates.d.ts b/lib/npm-check-updates.d.ts index 4f74a7ff..b3b18f44 100644 --- a/lib/npm-check-updates.d.ts +++ b/lib/npm-check-updates.d.ts @@ -1,4 +1,4 @@ -namespace ncu { +declare namespace ncu { interface RunOptions { /** * rc config file path (default: directory of `packageFile` or ./ otherwise) @@ -153,7 +153,7 @@ namespace ncu { type RunResults = Record; - async function run(options?: RunOptions): Promise; + function run(options?: RunOptions): Promise; } export = ncu;