Skip to content

[I] FileRef

A lazy reference to a file on disk. Unlike embedding the file content directly, a FileRef only describes where the content lives; it is resolved (read) by tooling such as tspd when needed. Because it does not read the file at definition time, it is safe to include in code that is bundled for the browser (e.g. the playground).

PropertyModifierTypeDescription
kindreadonly"file-ref"-
pathreadonlystringPath to the file, relative to the package root.