aboutsummaryrefslogtreecommitdiff
path: root/bench/websocket-server
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2022-11-09 15:40:40 -0800
committerGravatar GitHub <noreply@github.com> 2022-11-09 15:40:40 -0800
commitf7f1b604443c030afe29d1059b90f72c69afe081 (patch)
tree8f2397447b2a84dab02850007264b72cc565f5d6 /bench/websocket-server
parentda257336b0b70df8c31da647496899cf70670000 (diff)
downloadbun-f7f1b604443c030afe29d1059b90f72c69afe081.tar.gz
bun-f7f1b604443c030afe29d1059b90f72c69afe081.tar.zst
bun-f7f1b604443c030afe29d1059b90f72c69afe081.zip
Add bun-types, add typechecking, add `child_process` types (#1475)
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
Diffstat (limited to 'bench/websocket-server')
-rwxr-xr-xbench/websocket-server/bun.lockbbin0 -> 2466 bytes
-rw-r--r--bench/websocket-server/package.json3
-rw-r--r--bench/websocket-server/tsconfig.json16
3 files changed, 3 insertions, 16 deletions
diff --git a/bench/websocket-server/bun.lockb b/bench/websocket-server/bun.lockb
new file mode 100755
index 000000000..8bf2ac8e6
--- /dev/null
+++ b/bench/websocket-server/bun.lockb
Binary files differ
diff --git a/bench/websocket-server/package.json b/bench/websocket-server/package.json
index 4f1dfa334..543047705 100644
--- a/bench/websocket-server/package.json
+++ b/bench/websocket-server/package.json
@@ -2,9 +2,6 @@
"name": "websocket-server",
"module": "index.ts",
"type": "module",
- "devDependencies": {
- "bun-types": "^0.2.0"
- },
"dependencies": {
"bufferutil": "^4.0.7",
"utf-8-validate": "^5.0.10",
diff --git a/bench/websocket-server/tsconfig.json b/bench/websocket-server/tsconfig.json
index feee4b584..78465cc23 100644
--- a/bench/websocket-server/tsconfig.json
+++ b/bench/websocket-server/tsconfig.json
@@ -1,14 +1,4 @@
{
- "compilerOptions": {
- "lib": ["ESNext"],
- "module": "esnext",
- "target": "esnext",
- "moduleResolution": "node",
-
- // so that if your project isn't using TypeScript, it still has autocomplete
- "allowJs": true,
-
- // "bun-types" is the important part
- "types": ["bun-types"]
- }
-}
+ "extends": "../../tsconfig.base.json",
+ "compilerOptions": {}
+} \ No newline at end of file