Skip to content

Commit

Permalink
fix: correct ResolveOptions.url type
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 27, 2021
1 parent 3589cd7 commit e432175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolve.ts
Expand Up @@ -10,7 +10,7 @@ const DEFAULT_EXTENSIONS = ['.mjs', '.cjs', '.js', '.json']
const NOT_FOUND_ERRORS = new Set(['ERR_MODULE_NOT_FOUND', 'ERR_UNSUPPORTED_DIR_IMPORT', 'MODULE_NOT_FOUND'])

export interface ResolveOptions {
url?: string | URL | string[] | URL[]
url?: string | URL | (string | URL)[]
extensions?: string[]
conditions?: string[]
}
Expand Down

0 comments on commit e432175

Please sign in to comment.