import make from '@termsurf/form/host/make';
import * as mesh from '../code/shared/type/source/index.js';
import fs from 'fs';
make({ test: `./source/index.js`, mesh }).then(({ tree }) => {
    // fs.writeFileSync(`./code/shared/type/index.ts`, tree.base as string)
    fs.writeFileSync(`./code/shared/type/cast.ts`, tree.cast);
    fs.writeFileSync(`./code/shared/type/take.ts`, tree.take);
    // fs.writeFileSync(`./code/cli/type/link.ts`, tree.line)
});
//# sourceMappingURL=index.js.map