Skip to content

Commit

Permalink
Merge pull request #81 from UN-OCHA/ts-target
Browse files Browse the repository at this point in the history
Set ES2021 as Typescript compilation target
  • Loading branch information
Pl217 authored Feb 9, 2022
2 parents 9a84daf + 34113cd commit 21fa56a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unocha/hpc-api-core",
"version": "3.1.0",
"version": "4.0.0",
"description": "Core libraries supporting HPC.Tools API Backend",
"license": "Apache-2.0",
"private": false,
Expand Down
6 changes: 1 addition & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */

"target": "es2019",
"target": "es2021",
"module": "commonjs",
"declaration": true,
"outDir": "./",
"removeComments": false,
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */

"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
Expand Down

0 comments on commit 21fa56a

Please sign in to comment.