@nxext/stencil
Version:
Nx plugin for stenciljs
6 lines (5 loc) • 359 B
TypeScript
import * as ts from 'typescript';
import { StringChange, Tree } from '@nx/devkit';
export declare function readTsSourceFile(host: Tree, path: string): ts.SourceFile;
export declare function addImport(source: ts.SourceFile, statement: string): StringChange[];
export declare function addAfterLastImport(source: ts.SourceFile, statement: string): StringChange;