Skip to content

Commit

Permalink
feat: migrate to node16 module
Browse files Browse the repository at this point in the history
BREAKING CHANGE: require TypeScript v4.7 or later
  • Loading branch information
KillWolfVlad committed Jul 10, 2023
1 parent 3b910c3 commit 73ddd52
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ TSConfig for Byndyusoft projects
## Requirements

- Node.js v16 LTS or later
- TypeScript v4.7 or later
- Yarn

## Install
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.node16.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// Modules
"module": "Node16",
"moduleResolution": "Node16",
// Emit
"declaration": true,
"declarationMap": true,
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.node18.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// Modules
"module": "Node16",
"moduleResolution": "Node16",
// Emit
"declaration": true,
"declarationMap": true,
Expand Down

0 comments on commit 73ddd52

Please sign in to comment.