Primeiro commit do projeto Angular
This commit is contained in:
Generated
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
import { <%= classifiedName %> } from './<%= dasherize(name) %><%= type ? '.' + dasherize(type) : '' %>';
|
||||
|
||||
describe('<%= classifiedName %>', () => {
|
||||
it('should create an instance', () => {
|
||||
const directive = new <%= classifiedName %>();
|
||||
expect(directive).toBeTruthy();
|
||||
});
|
||||
});
|
||||
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
import { Directive } from '@angular/core';
|
||||
|
||||
@Directive({
|
||||
selector: '[<%= selector %>]',<% if(!standalone) {%>
|
||||
standalone: false,<%}%>
|
||||
})
|
||||
export class <%= classifiedName %> {
|
||||
|
||||
constructor() { }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user