chai-latte
Version:
Build expressive & readable fluent interface libraries.
17 lines • 575 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.compileUsingTsNode = void 0;
const tsnode_1 = require("./tsnode");
const compileUsingTsNode = (config) => {
// We need to run the script with ts-node
// to be able to import entry ts file
(0, tsnode_1.tsnode) `
import { generateTypedApiFromPath } from 'chai-latte';
generateTypedApiFromPath({
input: '${config.input}',
output: '${config.output}'
});
`;
};
exports.compileUsingTsNode = compileUsingTsNode;
//# sourceMappingURL=compileUsingTsNode.js.map