aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-09-08 08:29:59 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-09-08 08:29:59 -0700
commita05a1780c1c414a4b499f051b64760bf39701ff0 (patch)
tree776f83e4d63638b1c6b490c4fbb47f07e522916d
parent822a00c4d508b54f650933a73ca5f4a3af9a7983 (diff)
downloadbun-a05a1780c1c414a4b499f051b64760bf39701ff0.tar.gz
bun-a05a1780c1c414a4b499f051b64760bf39701ff0.tar.zst
bun-a05a1780c1c414a4b499f051b64760bf39701ff0.zip
Fix bun-types
-rw-r--r--packages/bun-types/globals.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/bun-types/globals.d.ts b/packages/bun-types/globals.d.ts
index f51de85b0..d43ee78bd 100644
--- a/packages/bun-types/globals.d.ts
+++ b/packages/bun-types/globals.d.ts
@@ -1,4 +1,4 @@
-import * as tls from 'node:tls';
+// import * as tls from 'node:tls';
/**
* "blob" is not supported yet
@@ -1309,7 +1309,7 @@ interface FetchRequestInit extends RequestInit {
*/
tls?: {
rejectUnauthorized?: boolean | undefined; // Defaults to true
- checkServerIdentity?: typeof tls.checkServerIdentity | undefined;
+ checkServerIdentity?: any | undefined; // TODO: change `any` to `checkServerIdentity`
};
}