jok
Version:
Bundle of utility functions for code generation related to nodejs and graphql
8 lines (7 loc) • 329 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(_a) {
var rootType = _a.rootType, hasVariables = _a.hasVariables;
return "\n\t\treturn {\n\t\t\tdocument: " + rootType + ",\n\t\t\t" + (hasVariables ? 'variables: props,' : '') + "\n\t\t}\n\t";
}
exports.default = default_1;