mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-01 11:50:54 +08:00
Fixed nomnom.d.ts for TypeScript 1.0.0.
This commit is contained in:
Vendored
+6
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user