SourceFile
Creates a JSON source file which defines a JSON value.
import { SourceFile } from "@alloy-js/json";
<SourceFile path="string"> {children}</SourceFile>import { SourceFile } from "@alloy-js/json/stc";
SourceFile({ path: string }).children(children)| children | optional Children | The contents of the source file |
| path | string | The path for this source file relative to the parent directory |