TypeScript/tests/cases/compiler/declarationEmitLambdaWithMissingTypeParameterNoCrash.ts

6 lines
204 B
TypeScript
Raw Normal View History

// @declaration: true
export interface Foo {
preFetch: <T1 extends T2> (c: T1) => void; // Type T2 is not defined
2018-12-01 02:44:25 +01:00
preFetcher: new <T1 extends T2> (c: T1) => void; // Type T2 is not defined
}