UNPKG

328 BPlain TextView Raw
1import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
2
3
4// You don't have to export the function as default. You can also have more than one rule factory
5// per file.
6export function <%= camelize(name) %>(_options: any): Rule {
7 return (tree: Tree, _context: SchematicContext) => {
8 return tree;
9 };
10}