Skip to content

Commit e8397d7

Browse files
Fix ESLint error about inferrable boolean type
Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
1 parent 82ef4b9 commit e8397d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VSCode/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ const typescriptGenerators = [
338338
* @param isTypeScript Whether the generator is for TypeScript
339339
* @returns true if the generator requires Java, false otherwise
340340
*/
341-
function generatorRequiresJava(generator: string, isTypeScript: boolean = false): boolean {
341+
function generatorRequiresJava(generator: string, isTypeScript = false): boolean {
342342
if (isTypeScript) {
343343
const typescriptGenerator = typescriptGenerators.find(g => g.command === generator);
344344
return typescriptGenerator?.requiresJava ?? false;

0 commit comments

Comments
 (0)