tsdjs / tsd

Check TypeScript type definitions
MIT License
2.39k stars 68 forks source link

fix(`DiagnosticCode`): add `ts(2707)` #173

Closed tommy-mitchell closed 1 year ago

tommy-mitchell commented 1 year ago

Adds a DiagnosticCode to check for TS error 2707, "Generic type '${0}' requires between ${1} and ${2} type arguments.". Came up while trying to add a test for type-fest.