Declare variable so import works

When declaring a module, it's necessary to declare a variable then
export it, else the import keyword won't work properly when using
modules.
This commit is contained in:
jbblanchet
2014-11-08 12:45:12 -05:00
parent 6df752c768
commit eae67433b7

3
tv4/tv4.d.ts vendored
View File

@@ -43,5 +43,6 @@ interface TV4 {
errorCodes:TV4ErrorCodes;
}
declare module "tv4" {
export = TV4;
var tv4: TV4
export = tv4;
}