diff --git a/nomnom/nomnom.d.ts b/nomnom/nomnom.d.ts index d5efd88d5..19ce73c7b 100644 --- a/nomnom/nomnom.d.ts +++ b/nomnom/nomnom.d.ts @@ -3,7 +3,10 @@ // Definitions by: Paul Vick // Definitions: https://github.com/borisyankov/DefinitelyTyped -declare module nomnom_internal +// NOTE: Extra identifier's been published is a work-around for the TypeScript 1.0.0. +// original is here -> https://github.com/borisyankov/DefinitelyTyped/commit/9aef1ad84dc006e3d25f5e57709198e33996ba84#diff-0d78c90325d4bfb40327dcc36dcd939a + +declare module NomnomInternal { /** * The command-line parser. @@ -222,7 +225,7 @@ declare module nomnom_internal } } -declare var nomnom: nomnom_internal.Parser; +declare var _nomnom: NomnomInternal.Parser; declare module "nomnom" { - export = nomnom; + export = _nomnom; }