From 741b5b6399262bb1be48368793b9a5f701baa933 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 30 Mar 2022 08:36:39 +1100 Subject: [PATCH] bump lib to es2021 (needed for string.replaceAll --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index e9a8e6144..9834181bd 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "module": "commonjs", // Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. "lib": [ "dom", // Required to access `window` - "es2020" + "es2021" ], "jsx": "react", // Specify JSX code generation: 'preserve', 'react-native', or 'react'.