Skip to content

Commit 2354bc5

Browse files
committed
fix: add tsconfig.json, bun-types, and .gitignore for typecheck oracle
1 parent 0b61688 commit 2354bc5

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
bun.lock
3+
*.lock
4+
dist/
5+
.DS_Store

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@
77
"test": "bun test",
88
"lint": "echo 'no linter configured'"
99
},
10-
"devDependencies": {}
10+
"devDependencies": {
11+
"bun-types": "latest",
12+
"typescript": "^5.4.0"
13+
}
1114
}

tsconfig.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"compilerOptions": {
3+
"target": "ES2022",
4+
"module": "ESNext",
5+
"moduleResolution": "bundler",
6+
"strict": true,
7+
"skipLibCheck": true,
8+
"types": ["bun-types"]
9+
},
10+
"include": ["src/**/*", "test/**/*"]
11+
}

0 commit comments

Comments
 (0)