- Add debounced state updates for title and content (500ms delay) - Immediate UI updates with delayed history saving - Prevent one-letter-per-undo issue - Add cleanup for debounce timers on unmount
7 lines
252 B
TypeScript
7 lines
252 B
TypeScript
export type DownloadResult = {
|
|
lastModified: string;
|
|
sha256: string | null;
|
|
zippedSha256: string | null;
|
|
};
|
|
export declare function downloadZip(url: string, target: string, progressCb?: (progress: number) => void): Promise<DownloadResult>;
|