on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
15 lines (14 loc) • 421 B
TypeScript
export interface Footnote {
id: string;
content: string;
}
export declare class FootnoteManager {
private footnotes;
createFootnote(content: string): Footnote;
updateFootnote(id: string, content: string): void;
getFootnote(id: string): Footnote | undefined;
getAllFootnotes(): Footnote[];
getFootnoteNumber(id: string): number;
deleteFootnote(id: string): void;
destroy(): void;
}