mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-08 06:42:22 +08:00
Made paths property optional
I'm making a lot of seemingly duplicate commits here, aren't I?
This commit is contained in:
2
types/node/v8/index.d.ts
vendored
2
types/node/v8/index.d.ts
vendored
@@ -123,7 +123,7 @@ interface NodeRequire extends NodeRequireFunction {
|
||||
}
|
||||
|
||||
interface RequireResolve {
|
||||
(id: string, options?: { paths: string[]; }): string;
|
||||
(id: string, options?: { paths?: string[]; }): string;
|
||||
paths(request: string): string[] | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user