import { Annotation } from './Annotation' ; import { Flashcard } from './Flashcard' ; import { Note } from './Note' ; import { Question } from './Question' ; export class ExtendedAnnotation extends Annotation { Deprecated public notes : { [ key ] : Note ; } = { } ; Deprecated public questions : { [ key ] : Question ; } = { } ; Deprecated public flashcards : { [ key ] : Flashcard ; } = { } ; constructor ( val ) { super ( val ) ; this . init ( val ) ; } public setup ( ) { super . setup ( ) ; if ( ! this . notes ) { this . notes = { } ; } } public validate ( ) { super . validate ( ) ; } }