feat:Environment add locale
This commit is contained in:
8
doric-js/lib/src/runtime/global.d.ts
vendored
8
doric-js/lib/src/runtime/global.d.ts
vendored
@@ -48,6 +48,14 @@ declare global {
|
||||
* ex: iPhone12,5 or pixel 3
|
||||
*/
|
||||
deviceModel: string;
|
||||
/**
|
||||
* The language code for current locale
|
||||
*/
|
||||
localeLanguage: string;
|
||||
/**
|
||||
* The country/region code for current locale
|
||||
*/
|
||||
localeCountry: string;
|
||||
[index: string]: number | string | boolean | object | undefined;
|
||||
};
|
||||
function Entry(constructor: ClassType<Panel>): void;
|
||||
|
Reference in New Issue
Block a user