Skip to content

Commit 046941e

Browse files
authored
Always truthy error
Remove part of a line in tables.ts that will never be executed -- raises a compiler error in Typescript 5.6 and above. Probably a result of a refactor. Will commit also to VF5 repo.
1 parent 139bcef commit 046941e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ export class Tables {
635635
let customNoteHeadProps = {};
636636
if (pieces.length > 2 && pieces[2]) {
637637
const glyphName = pieces[2].toUpperCase();
638-
customNoteHeadProps = { code: this.codeNoteHead(glyphName, duration) } || {};
638+
customNoteHeadProps = { code: this.codeNoteHead(glyphName, duration) };
639639
}
640640

641641
return {

0 commit comments

Comments
 (0)