mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Node: Fix punycode.ucs2.decode return type
API Reference: https://nodejs.org/api/punycode.html#punycode_punycode_ucs2_decode_string
This commit is contained in:
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