From 05a7e0f0312d0124cd84255ff05c0058e0fdea58 Mon Sep 17 00:00:00 2001 From: vvakame Date: Thu, 3 Apr 2014 13:29:24 +0900 Subject: [PATCH] add note and rename variable name. --- nomnom/nomnom.d.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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; }