ts: Convert i18n module to TypeScript.

We update our tsconfig target to ES2020 so that we don't get type
errors related to some properties not being in Intl that is used by
@formatjs/intl.
This commit is contained in:
Priyank Patel
2021-05-27 18:08:50 +00:00
committed by Tim Abbott
parent f1a0a790fe
commit 9418ae51fa
3 changed files with 37 additions and 14 deletions

View File

@@ -14,7 +14,7 @@
/* Basic options */
"noEmit": true,
"target": "ES2019",
"target": "ES2020",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,