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

Method constructor

tools/tslint-rules/noUndecoratedBaseClassDiRule.ts:24–30  ·  view source on GitHub ↗
(
    sourceFile: ts.SourceFile,
    options: Lint.IOptions,
    private _typeChecker: ts.TypeChecker,
  )

Source from the content-addressed store, hash-verified

22
23class Walker extends Lint.RuleWalker {
24 constructor(
25 sourceFile: ts.SourceFile,
26 options: Lint.IOptions,
27 private _typeChecker: ts.TypeChecker,
28 ) {
29 super(sourceFile, options);
30 }
31
32 override visitClassDeclaration(node: ts.ClassDeclaration) {
33 // If the class isn't decorated or it has an explicit constructor we don't need to check it.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected