diff --git a/vexflow/vexflow.d.ts b/vexflow/vexflow.d.ts index 5c304fa30..fd41619ef 100644 --- a/vexflow/vexflow.d.ts +++ b/vexflow/vexflow.d.ts @@ -6,7 +6,7 @@ //inconsistent namespace: this is a helper funtion from tables.js and should not pollute the global namespace! declare function sanitizeDuration(duration : string) : string; -declare namespace Vex { +declare module Vex { function L(block : string, args : any[]) : void; function Merge(destination : T, source : Object) : T; @@ -1411,3 +1411,7 @@ declare namespace Vex { } } } + +declare module "vexflow" { + export = Vex; +}