mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Merge pull request #6587 from hakatashi/patch-1
Node: Fix punycode.ucs2.decode return type
This commit is contained in:
commit
8cf8164641
1 file changed
+1
-1
Vendored
+1
-1
@@ -758,7 +758,7 @@ declare module "punycode" {
|
||||
export function toASCII(domain: string): string;
|
||||
export var ucs2: ucs2;
|
||||
interface ucs2 {
|
||||
decode(string: string): string;
|
||||
decode(string: string): number[];
|
||||
encode(codePoints: number[]): string;
|
||||
}
|
||||
export var version: any;
|
||||
|
||||
Reference in new issue
Block a user