mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-04 12:10:30 +08:00
Fix moment-timezone export/import
This commit is contained in:
1 parent
be1c64f424
commit
3ce44dcc58
2 files changed
+4
No files matched your search
@@ -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