You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Drift/server/node_modules/accept-language/Library/Typings.d.ts

28 lines
687 B
TypeScript

declare module 'accept-language' {
interface AcceptLanguage {
/**
* Define your supported languages. The first language will be your default language.
*/
languages(languages: string[]): void;
/**
* Get matched language. If no match, the default language will be returned.
*/
get(priorityList: string | null | undefined): string | null;
}
interface AcceptLanguageModule extends AcceptLanguage {
/**
* Create instance of parser
*/
create(): AcceptLanguage;
}
const __$export: AcceptLanguageModule & { default: AcceptLanguageModule };
export = __$export;
}