MyCrypto/common/typescript/idna-uts46.d.ts
HenryNguyen5 c340246ca0 Enable no-implicit-any (#1263)
* Progress commit

* Update more types

* Fix more types

* Fix abi function types

* Fix lib types

* Fix rest of types

* Address wbobeirne changes

* Change origin and destination check
2018-03-07 17:36:05 -06:00

11 lines
290 B
TypeScript

declare module 'idna-uts46' {
export interface Options {
transitional?: boolean;
useStd3ASCII?: boolean;
verifyDnsLength?: boolean;
}
export function toAscii(domain: string, options: Options): string;
export function toUnicode(domain: string, args: Options): string;
}