jok
Version:
Bundle of utility functions for code generation related to nodejs and graphql
13 lines (12 loc) • 341 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function default_1(_a) {
var hasProps = _a.hasProps;
if (hasProps) {
return "\n\t\treturn {\n\t\t\tquery,\n\t\t\tvariables: props,\n\t\t}";
}
else {
return "\n\t\treturn {\n\t\t\tquery,\n\t\t}";
}
}
exports.default = default_1;