- 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
11 lines
468 B
TypeScript
11 lines
468 B
TypeScript
import type { Plugin, CodeKeywordDefinition, ErrorObject } from "ajv";
|
|
type Kwd = "formatMaximum" | "formatMinimum" | "formatExclusiveMaximum" | "formatExclusiveMinimum";
|
|
type Comparison = "<=" | ">=" | "<" | ">";
|
|
export type LimitFormatError = ErrorObject<Kwd, {
|
|
limit: string;
|
|
comparison: Comparison;
|
|
}>;
|
|
export declare const formatLimitDefinition: CodeKeywordDefinition;
|
|
declare const formatLimitPlugin: Plugin<undefined>;
|
|
export default formatLimitPlugin;
|