Skip to content

Commit 15af853

Browse files
committed
fix: add ES2022 RegExp lib to allow use of re2
1 parent 4ed37d8 commit 15af853

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"pretty": true,
44
/* Basic Options */
55
"target": "es2018", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
6-
"lib": ["es2018", "dom"],
6+
"lib": ["es2018", "dom", "ES2022.RegExp"],
77
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
88
// "allowJs": true, /* Allow javascript files to be compiled. */
99
// "checkJs": true, /* Report errors in .js files. */

0 commit comments

Comments
 (0)