Skip to content

Commit

Permalink
Update tsconfig.json to reproduce
Browse files Browse the repository at this point in the history
  • Loading branch information
Petah committed May 15, 2024
1 parent 08aadf4 commit af12f48
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
3 changes: 3 additions & 0 deletions lib/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.WidgetCommandLine = exports.PushAction = void 0;
const ts_command_line_1 = require("@rushstack/ts-command-line");
class PushAction extends ts_command_line_1.CommandLineAction {
_force;
_protocol;
constructor() {
super({
actionName: 'push',
Expand Down Expand Up @@ -32,6 +34,7 @@ class PushAction extends ts_command_line_1.CommandLineAction {
}
exports.PushAction = PushAction;
class WidgetCommandLine extends ts_command_line_1.CommandLineParser {
_verbose;
constructor() {
super({
toolFilename: 'widget',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"dependencies": {
"@rushstack/ts-command-line": "^4.20.0",
"@types/node": "^20.12.12",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}
20 changes: 11 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"compilerOptions": {
"target": "es6",
"outDir": "lib",
"moduleResolution": "node",
"lib": ["ES2019"],
"module": "commonjs",
"types": ["node"]
},
"include": ["src/**/*.ts"]
}
"target": "es2022",
"module": "Node16",
"moduleResolution": "node16",
"resolveJsonModule": true,
"outDir": "./lib/",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
}
}

0 comments on commit af12f48

Please sign in to comment.