Skip to content

Commit dfc91bd

Browse files
committed
chore(tsconfig): switch TS target to ES2022 to resolve contentlayer
warning This updates the TypeScript target across the repo to ES2022 in tsconfig.* files to align with the runtime environment and suppress contentlayer warnings. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent dab4662 commit dfc91bd

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

packages/bigquery/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"target": "ES2022",
45
"types": ["bun", "node"]
56
},
67
"include": ["src/**/*.ts"],

packages/billing/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"target": "ES2022",
45
"types": ["bun", "node"]
56
},
67
"include": ["src/**/*.ts"],

packages/code-map/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"target": "ES2022",
45
"rootDir": "src",
56
"types": ["bun", "node"]
67
},

packages/internal/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
4+
"target": "ES2022",
45
"types": ["bun", "node"]
56
},
67
"include": ["src/**/*.ts"],

tsconfig.base.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2023",
3+
"target": "ES2022",
44
"lib": ["ES2023", "DOM"],
55
"module": "esnext",
66
"moduleResolution": "bundler",

0 commit comments

Comments
 (0)