UNPKG

@nx/devkit

Version:

The Nx Devkit is used to customize Nx for different technologies and use cases. It contains many utility functions for reading and writing files, updating configuration, working with Abstract Syntax Trees(ASTs), and more. Learn more about [extending Nx by

7 lines (6 loc) 386 B
import { Generator } from 'nx/src/devkit-exports'; /** * Convert an Nx Generator into an Angular Devkit Schematic. * @param generator The Nx generator to convert to an Angular Devkit Schematic. */ export declare function convertNxGenerator<T = any>(generator: Generator<T>, skipWritingConfigInOldFormat?: boolean): (generatorOptions: T) => (tree: any, context: any) => Promise<any>;