Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion typings/internalBinding/config.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ export interface ConfigBinding {
hasInspector: boolean;
noBrowserGlobals: boolean;
bits: number;
hasDtrace: boolean;
getDefaultLocale(): string;
}
8 changes: 8 additions & 0 deletions typings/internalBinding/http_parser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ declare namespace InternalHttpParserBinding {
static kLenientHeaders: number;
static kLenientChunkedLength: number;
static kLenientKeepAlive: number;
static kLenientTransferEncoding: number;
static kLenientVersion: number;
static kLenientDataAfterClose: number;
static kLenientOptionalLFAfterCR: number;
static kLenientOptionalCRLFAfterChunk: number;
static kLenientOptionalCRBeforeLF: number;
static kLenientSpacesAfterChunkSize: number;
static kLenientAll: number;

close(): void;
free(): void;
remove(): void;
execute(buffer: Buffer): Error | Buffer;
finish(): Error | Buffer;
initialize(
Expand Down
3 changes: 3 additions & 0 deletions typings/internalBinding/worker.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ declare namespace InternalWorkerBinding {
);
startThread(): void;
stopThread(): void;
hasRef(): boolean;
ref(): void;
unref(): void;
getResourceLimits(): Float64Array;
Expand Down Expand Up @@ -38,7 +39,9 @@ export interface WorkerBinding {
Worker: typeof InternalWorkerBinding.Worker;
getEnvMessagePort(): InternalMessagingBinding.MessagePort;
threadId: number;
threadName: string;
isMainThread: boolean;
isInternalThread: boolean;
ownsProcessState: boolean;
resourceLimits?: Float64Array;
kMaxYoungGenerationSizeMb: number;
Expand Down
Loading