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

4 lines (3 loc) 345 B
import { ArrayLiteralExpression, Expression } from 'ts-morph'; export declare function IsArrayLiteralExpression(expression?: Expression): expression is ArrayLiteralExpression; export declare function AssertArrayLiteralExpression(expression: Expression | undefined, variableDeclarationName: string): asserts expression is ArrayLiteralExpression;