19 lines
339 B
Text
19 lines
339 B
Text
=== 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
|
|
>A : A<T>
|
|
>T : T
|
|
}
|
|
|