mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
fix(node): make request.path readonly
This commit is contained in:
Vendored
+1
-1
@@ -159,7 +159,7 @@ declare module "http" {
|
||||
|
||||
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
abort(): void;
|
||||
onSocket(socket: net.Socket): void;
|
||||
setTimeout(timeout: number, callback?: () => void): this;
|
||||
|
||||
Vendored
+1
-1
@@ -531,7 +531,7 @@ declare module "http" {
|
||||
write(str: string, encoding?: string, cb?: Function): boolean;
|
||||
write(str: string, encoding?: string, fd?: string): boolean;
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
write(chunk: any, encoding?: string): void;
|
||||
abort(): void;
|
||||
setTimeout(timeout: number, callback?: Function): void;
|
||||
|
||||
Vendored
+1
-1
@@ -154,7 +154,7 @@ declare module "http" {
|
||||
|
||||
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
abort(): void;
|
||||
onSocket(socket: net.Socket): void;
|
||||
setTimeout(timeout: number, callback?: () => void): this;
|
||||
|
||||
Vendored
+1
-1
@@ -785,7 +785,7 @@ declare module "http" {
|
||||
write(str: string, encoding?: string, cb?: Function): boolean;
|
||||
write(str: string, encoding?: string, fd?: string): boolean;
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
write(chunk: any, encoding?: string): void;
|
||||
abort(): void;
|
||||
setTimeout(timeout: number, callback?: Function): void;
|
||||
|
||||
Vendored
+1
-1
@@ -857,7 +857,7 @@ declare module "http" {
|
||||
write(str: string, encoding?: string, cb?: Function): boolean;
|
||||
write(str: string, encoding?: string, fd?: string): boolean;
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
write(chunk: any, encoding?: string): void;
|
||||
abort(): void;
|
||||
setTimeout(timeout: number, callback?: Function): void;
|
||||
|
||||
Vendored
+1
-1
@@ -854,7 +854,7 @@ declare module "http" {
|
||||
write(str: string, encoding?: string, cb?: Function): boolean;
|
||||
write(str: string, encoding?: string, fd?: string): boolean;
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
write(chunk: any, encoding?: string): void;
|
||||
abort(): void;
|
||||
setTimeout(timeout: number, callback?: Function): void;
|
||||
|
||||
Vendored
+1
-1
@@ -1101,7 +1101,7 @@ declare module "http" {
|
||||
|
||||
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
abort(): void;
|
||||
onSocket(socket: net.Socket): void;
|
||||
setTimeout(timeout: number, callback?: () => void): this;
|
||||
|
||||
Vendored
+1
-1
@@ -1186,7 +1186,7 @@ declare module "http" {
|
||||
|
||||
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
||||
|
||||
path: string;
|
||||
readonly path: string;
|
||||
abort(): void;
|
||||
onSocket(socket: net.Socket): void;
|
||||
setTimeout(timeout: number, callback?: () => void): this;
|
||||
|
||||
Reference in New Issue
Block a user