From bed28efa05eb33aed734dd0753922c98ecff356d Mon Sep 17 00:00:00 2001 From: Gonzalo Diaz Date: Thu, 18 May 2023 14:09:53 -0400 Subject: [PATCH] FIX: Support for Object.hasOwn https://github.com/microsoft/TypeScript/issues/44253#issuecomment-1199292091 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index bb2f7f66..91d35752 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ /* Language and Environment */ - "target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, + "target": "es2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ // "jsx": "preserve", /* Specify what JSX code is generated. */ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */