Closed sebinemeth closed 2 years ago
Fix missing type declaration of options.
index.d.ts
declare module 'get-user-locale' { export type UserLocaleOptions = { fallbackLocale?: string, useFallbackLocale?: boolean, } export function getUserLocale(options?: UserLocaleOptions): string; export function getUserLocales(options?: UserLocaleOptions): string[]; export default getUserLocale; }
@wojtekmaj the type declarations were left out of the previous release. Please if you have some time, review and publish it. Thanks!
Thanks!
Fix missing type declaration of options.
index.d.ts