UNPKG

@rxap/schematics-ts-morph

Version:

This package provides utilities for manipulating TypeScript code using ts-morph, particularly for Angular and NestJS projects. It offers functions to add, coerce, and modify code elements like classes, methods, decorators, and imports. The package also in

10 lines 478 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CoerceGetOperation = CoerceGetOperation; const coerce_operation_1 = require("./coerce-operation"); function CoerceGetOperation(options) { const { operationName = 'get', isReturnVoid = false } = options; return (0, coerce_operation_1.CoerceOperation)(Object.assign(Object.assign({}, options), { operationName, isReturnVoid })); } //# sourceMappingURL=coerce-get-operation.js.map