From 569cd782f9fc943649cd9c8a9ededde13f23330d Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Mon, 23 Nov 2026 12:18:20 +0900 Subject: [PATCH] chore: use an ES2015 target in tsconfig TypeScript 6 deprecates target=ES5 (TS5107), which blocks the TypeScript 6 update (#955). tsc only type-checks index.d.ts with --noEmit, so the target has no effect on published output, and ES2015 works with both TypeScript 5.9 and 6. Co-Authored-By: Claude Opus 5.5 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index fea966d5..d5620db2 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, + "target": "es2015" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, "lib": ["es6"], "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */,