2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/privacyCheckCallbackOfInterfaceMethodWithTypeParameter.ts ===
|
|
|
|
export interface A<T> {
|
|
|
|
>A : A<T>
|
|
|
|
>T : T
|
|
|
|
|
|
|
|
f1(callback: (p: T) => any);
|
|
|
|
>f1 : (callback: (p: T) => any) => any
|
|
|
|
>callback : (p: T) => any
|
|
|
|
>p : T
|
|
|
|
>T : T
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface B<T> extends A<T> {
|
|
|
|
>B : B<T>
|
|
|
|
>T : T
|
2014-08-19 04:56:03 +02:00
|
|
|
>A : A<T>
|
2014-08-15 23:33:16 +02:00
|
|
|
>T : T
|
|
|
|
}
|
|
|
|
|