- 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
12 lines
386 B
TypeScript
12 lines
386 B
TypeScript
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
|
|
type Kwd = "maximum" | "minimum" | "exclusiveMaximum" | "exclusiveMinimum";
|
|
type Comparison = "<=" | ">=" | "<" | ">";
|
|
export type LimitNumberError = ErrorObject<Kwd, {
|
|
limit: number;
|
|
comparison: Comparison;
|
|
}, number | {
|
|
$data: string;
|
|
}>;
|
|
declare const def: CodeKeywordDefinition;
|
|
export default def;
|