mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
node: add documented highWaterMark option
This commit is contained in:
2
types/node/index.d.ts
vendored
2
types/node/index.d.ts
vendored
@@ -14,6 +14,7 @@
|
||||
// Kelvin Jin <https://github.com/kjin>
|
||||
// Alvis HT Tang <https://github.com/alvis>
|
||||
// Oliver Joseph Ash <https://github.com/OliverJAsh>
|
||||
// Sebastian Silbermann <https://github.com/eps1lon>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/************************************************
|
||||
@@ -4350,6 +4351,7 @@ declare module "fs" {
|
||||
autoClose?: boolean;
|
||||
start?: number;
|
||||
end?: number;
|
||||
highWaterMark?: number;
|
||||
}): ReadStream;
|
||||
|
||||
/**
|
||||
|
||||
5
types/node/v4/index.d.ts
vendored
5
types/node/v4/index.d.ts
vendored
@@ -1,6 +1,8 @@
|
||||
// Type definitions for Node.js 4.2
|
||||
// Project: http://nodejs.org/
|
||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
|
||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>
|
||||
// DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
|
||||
// Sebastian Silbermann <https://github.com/eps1lon>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/************************************************
|
||||
@@ -1847,6 +1849,7 @@ declare module "fs" {
|
||||
fd?: number;
|
||||
mode?: number;
|
||||
autoClose?: boolean;
|
||||
highWaterMark?: number;
|
||||
}): ReadStream;
|
||||
export function createWriteStream(path: string, options?: {
|
||||
flags?: string;
|
||||
|
||||
7
types/node/v6/index.d.ts
vendored
7
types/node/v6/index.d.ts
vendored
@@ -1,6 +1,10 @@
|
||||
// Type definitions for Node.js v6.x
|
||||
// Project: http://nodejs.org/
|
||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Wilco Bakker <https://github.com/WilcoBakker>, Thomas Bouldin <https://github.com/inlined>
|
||||
// Definitions by: Microsoft TypeScript <http://typescriptlang.org>
|
||||
// DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>
|
||||
// Wilco Bakker <https://github.com/WilcoBakker>
|
||||
// Thomas Bouldin <https://github.com/inlined>
|
||||
// Sebastian Silbermann <https://github.com/eps1lon>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/************************************************
|
||||
@@ -2746,6 +2750,7 @@ declare module "fs" {
|
||||
autoClose?: boolean;
|
||||
start?: number;
|
||||
end?: number;
|
||||
highWaterMark?: number;
|
||||
}): ReadStream;
|
||||
export function createWriteStream(path: string | Buffer, options?: {
|
||||
flags?: string;
|
||||
|
||||
2
types/node/v7/index.d.ts
vendored
2
types/node/v7/index.d.ts
vendored
@@ -5,6 +5,7 @@
|
||||
// Parambir Singh <https://github.com/parambirs>
|
||||
// Christian Vaagland Tellnes <https://github.com/tellnes>
|
||||
// Wilco Bakker <https://github.com/WilcoBakker>
|
||||
// Sebastian Silbermann <https://github.com/eps1lon>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/************************************************
|
||||
@@ -2879,6 +2880,7 @@ declare module "fs" {
|
||||
autoClose?: boolean;
|
||||
start?: number;
|
||||
end?: number;
|
||||
highWaterMark?: number;
|
||||
}): ReadStream;
|
||||
export function createWriteStream(path: string | Buffer, options?: {
|
||||
flags?: string;
|
||||
|
||||
Reference in New Issue
Block a user