diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index c0812265e..ace0392b7 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -1636,12 +1636,7 @@ interface UnderscoreStatic { * @param prefix A prefix string to start the unique ID with. * @return Unique string ID beginning with `prefix`. **/ - uniqueId(prefix: string): string; - - /** - * @see _.uniqueId - **/ - uniqueId(): number; + uniqueId(prefix?: string): string; /** * Escapes a string for insertion into HTML, replacing &, <, >, ", ', and / characters.