16 lines
255 B
Text
16 lines
255 B
Text
=== tests/cases/compiler/visibilityOfTypeParameters.ts ===
|
|
|
|
export class MyClass {
|
|
>MyClass : MyClass
|
|
|
|
protected myMethod<T>(val: T): T {
|
|
>myMethod : <T>(val: T) => T
|
|
>T : T
|
|
>val : T
|
|
>T : T
|
|
>T : T
|
|
|
|
return val;
|
|
>val : T
|
|
}
|
|
}
|