UNPKG

654 BTypeScriptView Raw
1import { GeneratorCallback, Tree } 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 libsDir: string;
9 parsedTags: string[];
10 importPath?: string;
11}
12export declare function addLint(tree: Tree, options: NormalizedSchema): Promise<GeneratorCallback>;
13export declare function libraryGenerator(tree: Tree, schema: Schema): Promise<GeneratorCallback>;
14export default libraryGenerator;
15export declare const librarySchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;