Public typealias

An asset for images such as PNGs and JPEGs, used by the TLImageShape.

Signature
type TLImageAsset = TLBaseAsset<
  'image',
  {
    h: number
    isAnimated: boolean
    mimeType: null | string
    name: string
    src: null | string
    w: number
  }
>
References

TLBaseAsset

Source

packages/tlschema/src/assets/TLImageAsset.ts

TLHighlightShapeTLImageShape