mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 19:45:48 +08:00
Merge pull request #499 from Bartvds/master
node.js: added id argument to require.resolve()
This commit is contained in:
2
node/node.d.ts
vendored
2
node/node.d.ts
vendored
@@ -33,7 +33,7 @@ declare function clearInterval(intervalId: any);
|
||||
|
||||
declare var require: {
|
||||
(id: string): any;
|
||||
resolve(): string;
|
||||
resolve(id:string): string;
|
||||
cache: any;
|
||||
extensions: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user