fix(init): cannot find console in blank project (#9462)

* Fix cannot find console in default project

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

---------

Co-authored-by: dave caruso <me@paperdave.net>
This commit is contained in:
Xin Chen
2024-03-23 01:23:06 +08:00
committed by GitHub
parent 940448d6b6
commit 71113182c2
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -1,7 +1,7 @@
{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext"],
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",