mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Fix moment-timezone export/import
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
/// <reference path="moment-timezone.d.ts" />
|
||||
|
||||
import moment = require('moment-timezone');
|
||||
|
||||
var june = moment("2014-06-01T12:00:00Z");
|
||||
june.tz('America/Los_Angeles').format('ha z');
|
||||
|
||||
|
||||
Vendored
+2
@@ -50,5 +50,7 @@ interface MomentStatic {
|
||||
}
|
||||
|
||||
declare module 'moment-timezone' {
|
||||
var _tmp: MomentStatic;
|
||||
|
||||
export = _tmp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user