- 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
366 B
TypeScript
11 lines
366 B
TypeScript
import { AddressInfo } from 'node:net';
|
|
import { Options, ServerType } from './types.js';
|
|
import 'node:http';
|
|
import 'node:http2';
|
|
import 'node:https';
|
|
|
|
declare const createAdaptorServer: (options: Options) => ServerType;
|
|
declare const serve: (options: Options, listeningListener?: (info: AddressInfo) => void) => ServerType;
|
|
|
|
export { createAdaptorServer, serve };
|