UNPKG

typescript-closure-tools

Version:

Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files

27 lines (19 loc) 418 B
/// <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);