TypeScript/tests/baselines/reference/typeParametersInStaticMethods.errors.txt
2014-07-12 17:30:19 -07:00

9 lines
353 B
Plaintext

==== tests/cases/compiler/typeParametersInStaticMethods.ts (2 errors) ====
class foo<T> {
static M(x: (x: T) => { x: { y: T } }) {
~
!!! Static members cannot reference class type parameters.
~
!!! Static members cannot reference class type parameters.
}
}