I am using jsdocs for commenting my code. I am a bit puzzled how to comment properly.
for example, I have such interfaces:
export interface IModal {
onClose: () => void;
isOpen: boolean;
id: number;
deleteSelectedId: () => void;
isDepartment: boolean;
}
export interface IAccountsValue {
name: string;
surname: string;
middlename: string;
department: string;
id: number | null;
}
export interface IGetValue {
name: string;
value: string;
id: number;
}
How to write comments for that properly ?