You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

punycode.d.ts 378B

123456789101112
  1. declare module "punycode" {
  2. function decode(string: string): string;
  3. function encode(string: string): string;
  4. function toUnicode(domain: string): string;
  5. function toASCII(domain: string): string;
  6. const ucs2: ucs2;
  7. interface ucs2 {
  8. decode(string: string): number[];
  9. encode(codePoints: number[]): string;
  10. }
  11. const version: string;
  12. }