mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
26 lines
376 B
TypeScript
26 lines
376 B
TypeScript
|
|
import timezone = require('timezone-js');
|
|
var tz = timezone.timezone;
|
|
|
|
var value: any;
|
|
var str: string;
|
|
var bool: boolean;
|
|
|
|
var opts: timezone.TimezoneJsOptions = {
|
|
async: bool,
|
|
success: (data: string) => {
|
|
|
|
},
|
|
error: (err: Error) => {
|
|
|
|
},
|
|
url: str
|
|
};
|
|
|
|
str = tz.zoneFileBasePath;
|
|
tz.loadingScheme;
|
|
tz.loadingSchemes;
|
|
|
|
value = tz.transport(opts);
|
|
value = tz.init(opts);
|