Merge pull request #6587 from hakatashi/patch-1

Node: Fix punycode.ucs2.decode return type
This commit is contained in:
Masahiro Wakame
2015-11-05 21:21:56 +09:00
+1 -1
View File
@@ -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;