The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Revert "target ES2022"
Steven Teya9d893969c4f
diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.jsonindex 0ab9d7064f..654bd7eba5 100644--- a/apps/web/tsconfig.json+++ b/apps/web/tsconfig.json@@ -1,7 +1,7 @@{"extends": "tsconfig/nextjs.json","compilerOptions": {- "target": "ES2022",+ "target": "es5","lib": ["dom", "dom.iterable", "esnext"],"allowJs": true,"skipLibCheck": true,diff --git a/packages/tsconfig/nextjs.json b/packages/tsconfig/nextjs.jsonindex f72a0901ae..75e2dd33ee 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": "ES2022"- },- "include": ["src", "next-env.d.ts"],- "exclude": ["node_modules"]-}+ "$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 filediff --git a/packages/tsconfig/react-library.json b/packages/tsconfig/react-library.jsonindex cd58e372f9..5d6d666060 100644--- a/packages/tsconfig/react-library.json+++ b/packages/tsconfig/react-library.json@@ -5,7 +5,7 @@"compilerOptions": {"lib": ["ES2015", "DOM"],"module": "ESNext",- "target": "ES2022",+ "target": "ES6","jsx": "react-jsx","noEmit": true}