diff options
| author | 2022-08-04 22:15:46 -0700 | |
|---|---|---|
| committer | 2022-08-04 22:16:05 -0700 | |
| commit | 1bc8c92e2fc2fe80162b70cb5db0f72c716a8941 (patch) | |
| tree | d0054de7e100417973ad07901fae41110bae7350 | |
| parent | f0d332e287d4807b5bfe757cdb5d7024c7fff69e (diff) | |
| download | bun-1bc8c92e2fc2fe80162b70cb5db0f72c716a8941.tar.gz bun-1bc8c92e2fc2fe80162b70cb5db0f72c716a8941.tar.zst bun-1bc8c92e2fc2fe80162b70cb5db0f72c716a8941.zip | |
[misc] Add `bun-types` to repo
| -rw-r--r-- | package.json | 1 | ||||
| -rw-r--r-- | test/bun.js/tsconfig.json | 3 | ||||
| -rw-r--r-- | tsconfig.json | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/package.json b/package.json index ab0f50e5f..71612cf6e 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { + "bun-types": "^0.1.5", "mitata": "^0.1.3", "peechy": "0.4.32", "react": "^18.2.0", diff --git a/test/bun.js/tsconfig.json b/test/bun.js/tsconfig.json index 9a6c36e06..975c49fe4 100644 --- a/test/bun.js/tsconfig.json +++ b/test/bun.js/tsconfig.json @@ -5,8 +5,7 @@ "target": "esnext", "noEmit": true, "allowJs": true, - "typeRoots": ["../../types"], - "types": ["bun"], + "types": ["bun-types"], "allowSyntheticDefaultImports": true, "baseUrl": ".", "paths": { diff --git a/tsconfig.json b/tsconfig.json index 1bd313fae..3f648150e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,8 @@ "module": "esnext", "target": "esnext", "typeRoots": ["./types"], - "types": ["bun"] + "types": ["bun-types"], + "allowJs": true }, "exclude": ["src"] } |
