Skip to content

Commit

Permalink
test(npm-resolver): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Nov 22, 2020
1 parent 1c3b151 commit f9befbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/npm-resolver/test/index.ts
Expand Up @@ -21,7 +21,7 @@ const sindresorhusIsMeta = loadJsonFile.sync<any>(path.join(__dirname, 'meta', '

const registry = 'https://registry.npmjs.org/'

const delay = (time: number) => new Promise((resolve) => setTimeout(() => resolve(), time))
const delay = (time: number) => new Promise<void>((resolve) => setTimeout(() => resolve(), time))

const fetch = createFetchFromRegistry({})
const getCredentials = () => ({ authHeaderValue: undefined, alwaysAuth: undefined })
Expand Down

0 comments on commit f9befbf

Please sign in to comment.