-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine the type script definition files
- Loading branch information
1 parent
2f58ea0
commit 80d5930
Showing
11 changed files
with
8,497 additions
and
27,889 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", | ||
"sourceMap": true, | ||
"outDir": "built", | ||
"noEmitOnError": true, | ||
"module": "commonjs" | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
"built", | ||
"docs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"globalDependencies": { | ||
"node": "registry:env/node#0.10.0+20160918225031", | ||
"node-uuid": "registry:dt/node-uuid#0.0.0+20160316155526" | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Generated by typings | ||
// Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/node-uuid/node-uuid.d.ts | ||
declare module __NodeUUID { | ||
/** | ||
* Overloads for node environment | ||
* We need to duplicate some declarations because | ||
* interface merging doesn't work with overloads | ||
*/ | ||
interface UUID { | ||
v1(options?: UUIDOptions): string; | ||
v1(options?: UUIDOptions, buffer?: number[], offset?: number): number[]; | ||
v1(options?: UUIDOptions, buffer?: Buffer, offset?: number): Buffer; | ||
|
||
v4(options?: UUIDOptions): string; | ||
v4(options?: UUIDOptions, buffer?: number[], offset?: number): number[]; | ||
v4(options?: UUIDOptions, buffer?: Buffer, offset?: number): Buffer; | ||
|
||
parse(id: string, buffer?: number[], offset?: number): number[]; | ||
parse(id: string, buffer?: Buffer, offset?: number): Buffer; | ||
|
||
unparse(buffer: number[], offset?: number): string; | ||
unparse(buffer: Buffer, offset?: number): string; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"resolution": "main", | ||
"tree": { | ||
"src": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/node-uuid/node-uuid.d.ts", | ||
"raw": "registry:dt/node-uuid#0.0.0+20160316155526", | ||
"typings": "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/56295f5058cac7ae458540423c50ac2dcf9fc711/node-uuid/node-uuid.d.ts" | ||
} | ||
} |
Oops, something went wrong.