From b98d24e5bb0b867505cd6d4aced45588eb747e8a Mon Sep 17 00:00:00 2001 From: idchlife Date: Wed, 30 Aug 2017 16:46:36 +0300 Subject: [PATCH] Parameter is not required --- types/uniqid/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/uniqid/index.d.ts b/types/uniqid/index.d.ts index 4e222ddb5b..aba814e485 100644 --- a/types/uniqid/index.d.ts +++ b/types/uniqid/index.d.ts @@ -4,7 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Commmon function signature -declare function f(prefix: string): string; +declare function f(prefix?: string): string; // let x -> Workaround for ES6 imports // Combined type because of assigning to function object in original module