Skip to content

Commit

Permalink
Tsifications galore
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed Sep 28, 2024
1 parent f715dc2 commit a54d972
Show file tree
Hide file tree
Showing 92 changed files with 376 additions and 276 deletions.
4 changes: 2 additions & 2 deletions compiler-args-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ class CompilerArgsApp {
}

getParser() {
if (compilerParsers[this.parserName]) {
return compilerParsers[this.parserName];
if (compilerParsers[this.parserName as keyof typeof compilerParsers]) {
return compilerParsers[this.parserName as keyof typeof compilerParsers];
} else {
console.error('Unknown parser type');
process.exit(1);
Expand Down
Loading

0 comments on commit a54d972

Please sign in to comment.