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 | optionalChildrenThe contents of the source file |
| path | stringThe path for this source file relative to the parent directory |