Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

target ES2022

Steven Tey95a53ddb7187
diff --git a/packages/tsconfig/nextjs.json b/packages/tsconfig/nextjs.json
index 75e2dd33ee..84e51696c7 100644
--- a/packages/tsconfig/nextjs.json
+++ b/packages/tsconfig/nextjs.json
@@ -1,20 +1,20 @@
{
- "$schema": "https://json.schemastore.org/tsconfig",
- "display": "Next.js",
- "extends": "./base.json",
- "compilerOptions": {
- "plugins": [{ "name": "next" }],
- "allowJs": true,
- "declaration": false,
- "declarationMap": false,
- "incremental": true,
- "jsx": "preserve",
- "lib": ["dom", "dom.iterable", "esnext"],
- "module": "esnext",
- "resolveJsonModule": true,
- "strict": false,
- "target": "es5"
- },
- "include": ["src", "next-env.d.ts"],
- "exclude": ["node_modules"]
-}
\ No newline at end of file
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "display": "Next.js",
+ "extends": "./base.json",
+ "compilerOptions": {
+ "plugins": [{ "name": "next" }],
+ "allowJs": true,
+ "declaration": false,
+ "declarationMap": false,
+ "incremental": true,
+ "jsx": "preserve",
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "module": "esnext",
+ "resolveJsonModule": true,
+ "strict": false,
+ "target": "es5"
+ },
+ "include": ["src", "next-env.d.ts"],
+ "exclude": ["node_modules"]
+}
diff --git a/packages/tsconfig/react-library.json b/packages/tsconfig/react-library.json
index 5d6d666060..8dff09a32f 100644
--- a/packages/tsconfig/react-library.json
+++ b/packages/tsconfig/react-library.json
@@ -1,12 +1,12 @@
{
- "$schema": "https://json.schemastore.org/tsconfig",
- "display": "React Library",
- "extends": "./base.json",
- "compilerOptions": {
- "lib": ["ES2015", "DOM"],
- "module": "ESNext",
- "target": "ES6",
- "jsx": "react-jsx",
- "noEmit": true
- }
-}
\ No newline at end of file
+ "$schema": "https://json.schemastore.org/tsconfig",
+ "display": "React Library",
+ "extends": "./base.json",
+ "compilerOptions": {
+ "lib": ["ES2015", "DOM"],
+ "module": "ESNext",
+ "target": "ES2022",
+ "jsx": "react-jsx",
+ "noEmit": true
+ }
+}