@rxap/ts-morph
Version:
Provides utilities for manipulating TypeScript code using the ts-morph library. It offers a fluent API to add, modify, and remove code elements such as classes, decorators, imports, and properties in both Angular and NestJS projects. This package simplifi
10 lines (9 loc) • 364 B
TypeScript
import { TypeImport } from '@rxap/ts-morph';
import { SourceFile } from 'ts-morph';
export interface CoerceTokenExportOptions {
name: string;
description?: string;
type?: TypeImport;
overwrite?: boolean;
}
export declare function CoerceTokenExport(sourceFile: SourceFile, options: CoerceTokenExportOptions): import("ts-morph").VariableDeclaration;