Skip to content

Commit

Permalink
feat(nest): es2021 support
Browse files Browse the repository at this point in the history
  • Loading branch information
gperdomor committed Jun 22, 2023
1 parent 81d35a1 commit e0748e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/generated/packages/nest/generators/library.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"target": {
"description": "The ES target, Nest suggest using es6 or higher.",
"type": "string",
"default": "es6",
"default": "es2021",
"enum": [
"es5",
"es6",
Expand All @@ -104,7 +104,8 @@
"es2017",
"es2018",
"es2019",
"es2020"
"es2020",
"es2021"
]
},
"strict": {
Expand Down
2 changes: 1 addition & 1 deletion packages/nest/src/generators/library/schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface LibraryGeneratorOptions {
| 'es2018'
| 'es2019'
| 'es2020'
| "es2021";
| 'es2021';
testEnvironment?: 'jsdom' | 'node';
unitTestRunner?: UnitTestRunner;
standaloneConfig?: boolean;
Expand Down

0 comments on commit e0748e0

Please sign in to comment.