Skip to content

Commit

Permalink
Tsifications galore (compiler-explorer#6916)
Browse files Browse the repository at this point in the history
Still mostly mindless numb work, one rename that touched many files
(`getArgumentParser` -> `getArgumentParserCls`), and a few real
improvements.
The goal is to be able to turn on `noImplicitAny` for the project, to
enforce higher code quality. 600 violations to go.
  • Loading branch information
OfekShilon authored Oct 1, 2024
1 parent 709b1f1 commit f5f0060
Show file tree
Hide file tree
Showing 92 changed files with 376 additions and 275 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 f5f0060

Please sign in to comment.