Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 209 Bytes

File metadata and controls

12 lines (10 loc) · 209 Bytes

sch-rule

Generate a basic rule of schematics

function ${1:name}(${2:options}: ${3:any}): Rule {
  return (${4:tree}: Tree, ${5:context}: SchematicContext) => {
    ${6}
    return tree;
  };
}