- 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
3 lines
108 B
TypeScript
3 lines
108 B
TypeScript
declare function isPromise<T, S>(obj: PromiseLike<T> | S): obj is PromiseLike<T>;
|
|
export default isPromise;
|