Skip to content

⬅️ Back to Table of Contents

📄 method.ts

📊 Analysis Summary

Metric Count
🔧 Functions 1
🧱 Classes 1
📊 Variables & Constants 2

📚 Table of Contents

🛠️ File Location:

📂 packages/scope-manager/tests/fixtures/class/declaration/method.ts

Variables & Constants

Name Type Kind Value Exported
unresolved1 { (): any; <T>(): void; <T extends object = object>(): void; (): void; (a: number): number; (): void; (a: number): void; (): void; (a: number): void; <T>(): void; (a: number): number; (): void; (): void; } const f
unresolved2 any const method

Functions

A.method(a: any, [b]: any, { c }: any, d: number, e: any, f: any): void

Code
method(a, [b], { c }, d = 1, e = a, f) {
    a;
  }
  • Parameters:
  • a: any
  • [b]: any
  • { c }: any
  • d: number
  • e: any
  • f: any
  • Return Type: void

Classes

A

Class Code
class A {
  method(a, [b], { c }, d = 1, e = a, f) {
    a;
  }
}

Methods

method(a: any, [b]: any, { c }: any, d: number, e: any, f: any): void
Code
method(a, [b], { c }, d = 1, e = a, f) {
    a;
  }