4 lines
183 B
Plaintext
4 lines
183 B
Plaintext
==== tests/cases/compiler/primitiveTypeAsInterfaceNameGeneric.ts (1 errors) ====
|
|
interface number<T> {}
|
|
~~~~~~
|
|
!!! error TS2427: Interface name cannot be 'number' |