[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).
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
kind | readonly | "file-ref" | - |
path | readonly | string | Path to the file, relative to the package root. |