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