UNPKG

633 BTypeScriptView Raw
1import { Tree, GeneratorCallback } from '@nrwl/devkit';
2import { Schema } from './schema';
3export interface NormalizedSchema extends Schema {
4 name: string;
5 fileName: string;
6 projectRoot: string;
7 projectDirectory: string;
8 parsedTags: string[];
9 importPath?: string;
10}
11export declare function addLint(tree: Tree, options: NormalizedSchema): Promise<GeneratorCallback>;
12export declare function libraryGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
13export default libraryGenerator;
14export declare const librarySchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;