@necord/schematics
Version:
A collection of schematics for Necord projects with NestJS
13 lines (12 loc) • 457 B
TypeScript
import { Rule, Source } from '@angular-devkit/schematics';
import { CommonOptions } from './common-options.interface';
export * 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;
}