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