Added Suggested Changes

This commit is contained in:
Haseeb Majid
2019-03-23 12:11:54 +00:00
parent d7a1bc51f8
commit 7411e9d03d
2 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ interface v4 {
rng?: (...args: any) => void;
}
export interface uuid {
interface uuid {
v1: (options?: v1, buffer?: ArrayBuffer, offset?: number) => string;
v4: (options?: v4, buffer?: ArrayBuffer, offset?: number) => string;
parse: (id: string, buffer?: ArrayBuffer, offset?: number) => ArrayBuffer;
@@ -25,4 +25,4 @@ export interface uuid {
}
declare const uuid: uuid;
export default uuid;
export = uuid;

View File

@@ -4,6 +4,7 @@
"lib": [
"es6"
],
"allowSyntheticDefaultImports": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,