Package context
const PackageContext: ComponentContext<PackageContext>Accessor
Section titled “Accessor”import { usePackage } from "@alloy-js/core";
const myContext = usePackage();Context interface
Section titled “Context interface”| outFileMapper | Ref<(path: string) => string> | A ref for a function that maps a ts file to a JS file. |
| scope | TSPackageScope |