Public typealias

Signature
type TLBeforeDeleteHandler<R extends TLRecord> = (
  record: R,
  source: 'remote' | 'user'
) => false | void
References

TLRecord

Source

packages/editor/src/lib/editor/managers/SideEffectManager.ts

TLBeforeCreateHandlerTLBrushComponent