"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.printTsNode = void 0;
const tslib_1 = require("tslib");
const typescript_1 = tslib_1.__importDefault(require("typescript"));
function printTsNode(...nodes) {
    const printer = typescript_1.default.createPrinter({
        newLine: typescript_1.default.NewLineKind.LineFeed,
    });
    const indexFile = typescript_1.default.createSourceFile('index.d.ts', '', typescript_1.default.ScriptTarget.Latest, false, typescript_1.default.ScriptKind.TS);
    return nodes.map((node) => printer.printNode(typescript_1.default.EmitHint.Unspecified, node, indexFile)).join('\n');
}
exports.printTsNode = printTsNode;
//# sourceMappingURL=PrintTsNode.js.map