UNPKG

@kwiz/common

Version:

KWIZ common utilities and helpers for M365 platform

13 lines (12 loc) 508 B
export declare const KnownLocations: { us: string; eu: string; au: string; ca: string; }; export type KnownLocationsType = keyof typeof KnownLocations; export declare const KnownLocationsNames: KnownLocationsType[]; /** gets a location, defaults to US if not found */ export declare function toKnownLocation(location?: string): KnownLocationsType; /** check current user browser timezone settings and return his location */ export declare function getUserKnownLocation(): KnownLocationsType;