Skip to content

Commit

Permalink
fix: declare namespace and remove async keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Mar 25, 2020
1 parent ab2f840 commit cc657dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/npm-check-updates.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ncu {
declare namespace ncu {
interface RunOptions {
/**
* rc config file path (default: directory of `packageFile` or ./ otherwise)
Expand Down Expand Up @@ -153,7 +153,7 @@ namespace ncu {

type RunResults = Record<string, string>;

async function run(options?: RunOptions): Promise<RunResults>;
function run(options?: RunOptions): Promise<RunResults>;
}

export = ncu;

0 comments on commit cc657dd

Please sign in to comment.