I am trying to create a custom schematics.
I have created a template file which is to be generated by schematics.
This should create file with classname specified by inputs at command.
export class <%= classify(name) %> {
}
But when I run using "npm run build", it throws error
export class <%= classify(name) %> {
error TS1109: Expression expected.
I understand this is typescript error, But I am using "typescript": "~3.1.6"
which should compile this.
I might be missing something basic. This is my first attempt with @angular/schematics.