TLShapePartial

Public TypeAlias

Signature
type TLShapePartial<T extends TLShape = TLShape> = T extends T
  ? {
      id: TLShapeId
      type: T['type']
      props?: Partial<T['props']>
    } & Partial<Omit<T, 'id' | 'props' | 'type'>>
  : never
References

TLShape, TLShapeId, Partial, Omit

Edit this page
Last edited on 11 May 2023
TLShapeIdTLShapeProp