mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Linted
This commit is contained in:
+5
-3
@@ -3,7 +3,9 @@
|
||||
// Definitions by: Bartosz Dotryw <https://github.com/burtek>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export default class UUIDGenerator {
|
||||
static getRandomUUID(): Promise<string>;
|
||||
static getRandomUUID(callback: (uuid: string) => void): void;
|
||||
declare namespace UUIDGenerator {
|
||||
function getRandomUUID(): Promise<string>;
|
||||
function getRandomUUID(callback: (uuid: string) => void): void;
|
||||
}
|
||||
|
||||
export default UUIDGenerator;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
Reference in New Issue
Block a user