*Add typings

This commit is contained in:
Derrick Hammer 2022-03-23 01:28:49 -04:00
parent ce800542c0
commit 5b9686ecdf
1 changed files with 22 additions and 0 deletions

22
formats/js/tld-enum/index.d.ts vendored Normal file
View File

@ -0,0 +1,22 @@
export interface Desc {
[domain: string]: string;
}
export interface InfoItem {
domain: string;
description: string;
type: string;
}
export interface Type {
[domain: string]: string;
}
export interface tldEnum {
desc: Desc;
info: InfoItem[];
list: string[];
type: Type;
}
export default tldEnum;