more eslint rules and fix bugs

This commit is contained in:
nora 2023-07-31 14:50:28 +02:00
parent 12fcc4f1bb
commit 854112da3c
13 changed files with 67 additions and 29 deletions

View file

@ -23,7 +23,7 @@ export class CompilerError extends Error {
}
}
export function withErrorHandler(input: string, f: () => void) {
export function withErrorHandler(input: string, f: () => void): void {
try {
f();
} catch (e) {