SourceFile context
const SourceFileContext: ComponentContext<SourceFileContext>
Accessor
import { useSourceFile } from "@alloy-js/core";
const myContext = useSourceFile();
Context interface
scope | TSModuleScope |
const SourceFileContext: ComponentContext<SourceFileContext>
import { useSourceFile } from "@alloy-js/core";
const myContext = useSourceFile();
scope | TSModuleScope |