Fix moment-timezone export/import

This commit is contained in:
Michel Salib
2014-12-02 14:04:06 +01:00
parent be1c64f424
commit 3ce44dcc58
2 changed files with 4 additions and 0 deletions

View File

@@ -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');

View File

@@ -50,5 +50,7 @@ interface MomentStatic {
}
declare module 'moment-timezone' {
var _tmp: MomentStatic;
export = _tmp;
}