Created
January 29, 2019 07:45
-
-
Save alexzuza/c8ebab9b7c35bd54857fbef12f036994 to your computer and use it in GitHub Desktop.
di false positive
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: 'my-app', | |
template: ` | |
<div> | |
<div dirB>Hello Ivy</div> | |
</div> | |
` | |
}) | |
export class AppComponent {} | |
@Directive({ selector: '[dirA]' }) | |
export class DirA { | |
static __NG_ELEMENT_ID__ = 256; | |
} | |
@Directive({ selector: '[dirB]' }) | |
export class DirB { | |
constructor(private dirA: DirA) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment