Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

punycode.d.ts 594B

123456789101112131415161718192021222324
  1. declare module 'punycode' {
  2. function ucs2decode(string:string):Array<number>;
  3. function ucs2encode(array:Array<number>):string;
  4. function decode(string:string):string;
  5. function encode(string:string):string;
  6. function toASCII(string:string):string;
  7. function toUnicode(string:string):string;
  8. interface Punycode {
  9. 'version': '2.2.0';
  10. 'ucs2': {
  11. 'decode': typeof ucs2decode;
  12. 'encode': typeof ucs2encode;
  13. },
  14. 'decode': typeof decode;
  15. 'encode': typeof encode;
  16. 'toASCII': typeof toASCII;
  17. 'toUnicode': typeof toUnicode;
  18. }
  19. const punycode:Punycode;
  20. export default punycode;
  21. }