Files
DefinitelyTyped/timezone-js/timezone-js-tests.ts
Bart van der Schoor 09f3d7a8dc imported 25 definitions from typescript-node-definitions
first batch: the easy pickings

- as per https://github.com/borisyankov/DefinitelyTyped/issues/115
- added DT headers (scraped creators from git history)
- added tests
- some modifications
- added CONTRIBUTORS.md for the substantial defs (>50 LOC)
2014-04-22 22:09:35 +02:00

27 lines
418 B
TypeScript

/// <reference path="timezone-js.d.ts" />
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);