@eggjs/tsconfig 1.2.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tsconfig.json +2 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eggjs/tsconfig",
3
3
  "description": "Base tsconfig for egg ts project",
4
- "version": "1.2.0",
4
+ "version": "1.3.1",
5
5
  "keywords": [
6
6
  "egg",
7
7
  "typescript",
package/tsconfig.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "compileOnSave": true,
3
3
  "compilerOptions": {
4
- "target": "ES2020",
4
+ "target": "ES2019",
5
5
  "module": "commonjs",
6
6
  "strict": true,
7
7
  // Warn on expressions and declarations with an implied 'any' type.
@@ -32,6 +32,7 @@
32
32
  "resolveJsonModule": true,
33
33
  // Enables experimental support for ES7 decorators.
34
34
  "experimentalDecorators": true,
35
+ "emitDecoratorMetadata": true,
35
36
  "useUnknownInCatchVariables": true,
36
37
  "incremental": true
37
38
  }