@graphql-mesh/transport-rest
Version:
9 lines (8 loc) • 358 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.processTypeScriptAnnotations = void 0;
function processTypeScriptAnnotations(type, typeDefinition) {
type.extensions = type.extensions || {};
type.extensions.codegenScalarType = typeDefinition;
}
exports.processTypeScriptAnnotations = processTypeScriptAnnotations;
;