nest-commander-schematics
Version:
A set of schematics for generating questions and commands with the NestJS CLI.
12 lines (11 loc) • 413 B
TypeScript
import { Rule, Source } from '@angular-devkit/schematics';
import { CommonOptions } from './common-options.interface';
export declare class CommonSchematicFactory<T extends CommonOptions = CommonOptions> {
templatePath: string;
type: string;
metadata: string;
create(options: T): Rule;
generate(options: T): Source;
addDeclarationToModule(options: T): Rule;
transform(source: T): T;
}