replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
// NOTE: import statement can not use in TypeScript 1.0.1
var program:commander.IExportedCommand = require('commander');
declare module commander {
declare namespace commander {
interface IExportedCommand {
peppers:boolean;
pineapple:boolean;
@@ -43,7 +43,7 @@ function increaseVerbosity(v:any, total:number) {
return total + 1;
}
declare module commander {
declare namespace commander {
interface IExportedCommand {
integer:number;
float:number;
+1 -1
View File
@@ -5,7 +5,7 @@
/// <reference path="../node/node.d.ts" />
declare module commander {
declare namespace commander {
interface ICommandStatic {
/**
* Initialize a new `Command`.