asValue
ts
function Source.asValue(source: Source): SourceCreates a copy of source which is treated as a value, instead of a type declaration.
Example
ts
import { Source, Barrel } from "@monstermann/barrels";
const sourceA = await Source.file("./source.ts");
// export type * from "./source.ts";
Barrel.export(sourceA);
const sourceB = Source.asValue(sourceA);
// export * from "./source.ts";
Barrel.export(sourceB);