@mocanvas/editor · type

TLUnknownAsset

type TLUnknownAsset = BaseAsset<string, object>

An asset whose type this build does not know.

A document may carry assets registered by a newer version of an app, or by a util that was not passed to this editor. They must survive a load and save untouched, which means there has to be a type for "an asset, contents unexamined".

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.