- 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
9 lines
347 B
TypeScript
9 lines
347 B
TypeScript
/**
|
|
* This regex matches all supported binary target names in a given string.
|
|
*
|
|
* Platform names are sorted by their lengths in descending order to ensure that
|
|
* the longest substring is always matched (e.g., "darwin-arm64" is matched as a
|
|
* whole instead of "darwin" and "arm" separately)
|
|
*/
|
|
export declare const binaryTargetRegex: RegExp;
|