mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #7483 from afrische/patch-1
underscore.d.ts uniqueId always returns a string
This commit is contained in:
Vendored
+1
-6
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user