Skip to content

⬅️ Back to Table of Contents

📄 parameter-rest.ts

📊 Analysis Summary

Metric Count
🔧 Functions 1
📑 Type Aliases 1

📚 Table of Contents

🛠️ File Location:

📂 packages/scope-manager/tests/fixtures/type-annotation/parameter-rest.ts

Functions

foo(a: T[]): void

Code
function foo(...a: T[]) {}
  • Parameters:
  • a: T[]
  • Return Type: void

Type Aliases

T

type T = 1;