In SelectionWithNoteMixin.ts, the method getNote returns SelectionAny although it should have returned SelectionNoteReferenceMixed (technically the type can also be inferred).
To reproduce:
const gedcom: Gedcom = ...
gedcom
.getIndividualRecord()
.getNote()
.getNoteRecord(); // TS2339: Property 'getNoteRecord' does not exist on type 'SelectionAny'.
In
SelectionWithNoteMixin.ts
, the methodgetNote
returnsSelectionAny
although it should have returnedSelectionNoteReferenceMixed
(technically the type can also be inferred).To reproduce: