UNPKG

@angular-devkit/schematics-cli

Version:
11 lines (8 loc) 328 B
import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics'; // You don't have to export the function as default. You can also have more than one rule factory // per file. export function <%= camelize(name) %>(_options: any): Rule { return (tree: Tree, _context: SchematicContext) => { return tree; }; }