Skip to content

Package context

const PackageContext: ComponentContext<PackageContext>
import { usePackage } from "@alloy-js/core";
const myContext = usePackage();
outFileMapperRef<(path: string) => string>A ref for a function that maps a ts file to a JS file.
scopeTSPackageScope