UNPKG

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) 392 B
export interface Comment { id: string; content: string; createdAt: number; updatedAt: number; } export declare class CommentManager { private comments; createComment(content: string): Comment; getComment(id: string): Comment | undefined; updateComment(id: string, content: string): void; deleteComment(id: string): void; getAllComments(): Comment[]; }