6 lines
No EOL
208 B
Text
6 lines
No EOL
208 B
Text
==== tests/cases/compiler/typeParametersInStaticProperties.ts (1 errors) ====
|
|
class foo<T> {
|
|
static P: T;
|
|
~
|
|
!!! Static members cannot reference class type parameters.
|
|
} |