Skip to content

Commit

Permalink
fix(init): cannot find console in blank project (#9462)
Browse files Browse the repository at this point in the history
* Fix cannot find console in default project

* Update src/cli/tsconfig-for-init.json

---------

Co-authored-by: dave caruso <[email protected]>
  • Loading branch information
2 people authored and zackradisic committed Mar 25, 2024
1 parent 7b0fd61 commit f152f0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/runtime/typescript.md
Expand Up @@ -16,7 +16,7 @@ Below is the full set of recommended `compilerOptions` for a Bun project. With t
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext"],
"lib": ["ESNext","DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/tsconfig-for-init.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext"],
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
Expand Down

0 comments on commit f152f0f

Please sign in to comment.