converter/src/app/punycode.ts

5 lines
96 B
TypeScript

export interface Punycode {
encode(input: string): string;
decode(input: string): string;
}