diff --git a/moment-timezone/moment-timezone-tests.ts b/moment-timezone/moment-timezone-tests.ts index 6ee7a78dd7..f6a754c6e7 100644 --- a/moment-timezone/moment-timezone-tests.ts +++ b/moment-timezone/moment-timezone-tests.ts @@ -1,5 +1,7 @@ /// +import moment = require('moment-timezone'); + var june = moment("2014-06-01T12:00:00Z"); june.tz('America/Los_Angeles').format('ha z'); diff --git a/moment-timezone/moment-timezone.d.ts b/moment-timezone/moment-timezone.d.ts index 785aeb047e..9553faa3ad 100644 --- a/moment-timezone/moment-timezone.d.ts +++ b/moment-timezone/moment-timezone.d.ts @@ -50,5 +50,7 @@ interface MomentStatic { } declare module 'moment-timezone' { + var _tmp: MomentStatic; + export = _tmp; }