@angular-devkit/schematics-cli
Version:
Angular Schematics - CLI
11 lines (8 loc) • 328 B
text/typescript
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;
};
}