Fixed nomnom.d.ts for TypeScript 1.0.0.

This commit is contained in:
satoru kimura
2014-04-03 11:40:20 +09:00
parent a535e49f08
commit 268ca8a9c2
+6 -3
View File
@@ -3,7 +3,7 @@
// Definitions by: Paul Vick <https://github.com/panopticoncentral>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module "nomnom"
declare module nomnom_internal
{
/**
* The command-line parser.
@@ -137,7 +137,7 @@ declare module "nomnom"
/**
* The command-line parser.
*/
interface Parser
export interface Parser
{
/**
* Returns the parser.
@@ -220,6 +220,9 @@ declare module "nomnom"
*/
parse(argv?: string[]): any;
}
}
export = Parser;
declare var nomnom: nomnom_internal.Parser;
declare module "nomnom" {
export = nomnom;
}