Skip to content

Commit

Permalink
feat(@formatjs/cli): upgrade TS to 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Aug 30, 2020
1 parent ce739be commit ec0bd47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"json-stable-stringify": "^1.0.1",
"lodash": "^4.17.15",
"loud-rejection": "^2.2.0",
"typescript": "^3.8"
"typescript": "^4.0"
},
"bugs": {
"url": "https://github.com/formatjs/formatjs/issues"
Expand Down
4 changes: 4 additions & 0 deletions packages/cli/tests/extract/__snapshots__/unit.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ Array [
Object {
"compilerOptions": Object {
"allowJs": true,
"experimentalDecorators": true,
"noEmit": true,
"target": 99,
},
"fileName": "file1.js",
"reportDiagnostics": true,
"transformers": Object {
"before": Array [
[Function],
Expand All @@ -23,10 +25,12 @@ Array [
Object {
"compilerOptions": Object {
"allowJs": true,
"experimentalDecorators": true,
"noEmit": true,
"target": 99,
},
"fileName": "file2.tsx",
"reportDiagnostics": true,
"transformers": Object {
"before": Array [
[Function],
Expand Down

0 comments on commit ec0bd47

Please sign in to comment.