From 2da5d57622bea715a3f521eb52488d833ef4538f Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Sun, 29 Jan 2023 17:40:54 -0600 Subject: npm update and prettier --- lib/compilers/java.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/compilers/java.ts') diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts index 46820fad0..c3a40f402 100644 --- a/lib/compilers/java.ts +++ b/lib/compilers/java.ts @@ -293,7 +293,7 @@ export class JavaCompiler extends BaseCompiler { for (const codeAndLineNumberTable of codeAndLineNumberTables) { const method = { instructions: [], - } as typeof methods[0]; + } as (typeof methods)[0]; methods.push(method); for (const codeLineCandidate of utils.splitLines(codeAndLineNumberTable)) { -- cgit v1.2.3