Interface ContentSource<Format, Type>

The source of the content.

If the content property is provided, the src property is ignored.

interface ContentSource<Format, Type> {
    content?: Type;
    src?: PathLike;
}

Type Parameters

Hierarchy (view full)

Properties

Properties

content?: Type

The content of the source. If provided, the src property is ignored.

src?: PathLike

The file path or URL of the source. If content is provided, this property is ignored.