type TLOnBeforeCreateHandler<T extends TLShape> = (next: T) => T | void
TLKeyboardEventNameTLOnBeforeUpdateHandler