Skip to content

"'T' is declared but never used" on type parameterΒ #1617

@jakebailey

Description

@jakebailey

Steps to reproduce

export function wowee<T>() {
  throw new Error("TODO");
}

Behavior with [email protected]

No error.

Behavior with tsgo

'T' is declared but never used.ts(6196)

Metadata

Metadata

Assignees

Labels

Domain: Type CheckingRelated to type checking, grammar checking

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions