MCPcopy Create free account
hub / github.com/angular/components /

Class

tools/tslint-rules/noLifecycleInvocationRule.ts:18–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17/** Rule that prevents direct calls of the Angular lifecycle hooks */
18export class Rule extends Lint.Rules.AbstractRule {
19 apply(sourceFile: ts.SourceFile): Lint.RuleFailure[] {
20 return this.applyWithWalker(new Walker(sourceFile, this.getOptions()));
21 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected