Function: convertNxGenerator

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

Convert an Nx Generator into an Angular Devkit Schematic.

Type parameters

NameType
Tany

Parameters

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

Returns

fn

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

Parameters
NameType
generatorOptionsT
Returns

fn

▸ (tree, context): Promise<any>

Parameters
NameType
treeany
contextany
Returns

Promise<any>