pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
at main 21 lines 471 B view raw
1declare module "@ladjs/country-language" { 2 export interface LanguageObj { 3 countries: Array<{ 4 code_2: string; 5 code_3: string; 6 numCode: string; 7 }>; 8 direction: "RTL" | "LTR"; 9 name: string[]; 10 nativeName: string[]; 11 iso639_1: string; 12 } 13 14 type Callback<T> = (err: null | string, result: null | T) => void; 15 16 declare namespace lib { 17 function getLanguage(locale: string, cb: Callback<LanguageObj>): void; 18 } 19 20 export = lib; 21}