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

3 lines (2 loc) 290 B
import { OptionalKind, ParameterDeclarationStructure, ParameteredNode } from 'ts-morph'; export declare function CoerceParameterDeclaration(node: ParameteredNode, name: string, structure?: Omit<OptionalKind<ParameterDeclarationStructure>, 'name'>): import("ts-morph").ParameterDeclaration;