Skip to content

convertNxGenerator<T>(generator, skipWritingConfigInOldFormat?): (generatorOptions: T) => (tree: any, context: any) => Promise<any>

Convert an Nx Generator into an Angular Devkit Schematic.

NameType
Tany
NameTypeDescription
generatorGenerator<T>The Nx generator to convert to an Angular Devkit Schematic.
skipWritingConfigInOldFormat?boolean-

fn

▸ (generatorOptions): (tree: any, context: any) => Promise<any>

NameType
generatorOptionsT

fn

▸ (tree, context): Promise<any>

NameType
treeany
contextany

Promise<any>