mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Added GlobalizationError constants
This commit is contained in:
Vendored
+8
-1
@@ -413,6 +413,13 @@ interface GlobalizationError {
|
||||
message: string;
|
||||
}
|
||||
|
||||
declare var GlobalizationError: {
|
||||
UNKNOWN_ERROR: number;
|
||||
FORMATTING_ERROR: number;
|
||||
PARSING_ERROR: number;
|
||||
PATTERN_ERROR: number;
|
||||
}
|
||||
|
||||
interface Globalization {
|
||||
getPreferredLanguage(successCB, errorCB): void;
|
||||
getLocaleName(successCB, errorCB): void;
|
||||
@@ -520,4 +527,4 @@ interface Window {
|
||||
}
|
||||
|
||||
declare var device: Device;
|
||||
declare var phoneGapNavigator: Navigator /*PhoneGapNavigator*/;
|
||||
declare var phoneGapNavigator: Navigator /*PhoneGapNavigator*/;
|
||||
|
||||
Reference in New Issue
Block a user