mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-07 09:40:19 +00:00
Made paths property optional
I'm making a lot of seemingly duplicate commits here, aren't I?
This commit is contained in:
Vendored
+1
-1
@@ -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