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
+1 -1
View File
@@ -13,7 +13,7 @@ declare module 'through2' {
function through2(opts?: stream.DuplexOptions, transform?: (chunk: any, enc: string, callback: () => void) => void, flush?: () => void): NodeJS.ReadWriteStream;
module through2 {
namespace through2 {
export function obj(transform?: (chunk: any, enc: string, callback: () => void) => void, flush?: () => void): NodeJS.ReadWriteStream;
+1 -1
View File
@@ -17,7 +17,7 @@ declare module 'through2' {
function through2(opts?: stream.DuplexOptions, transform?: TransformFunction, flush?: FlashCallback): NodeJS.ReadWriteStream;
module through2 {
namespace through2 {
export function obj(transform?: TransformFunction, flush?: FlashCallback): NodeJS.ReadWriteStream;