TypeScript/tests/cases/fourslash/quickInfoOnGenericWithConstraints1.ts
2014-09-30 17:10:33 -07:00

9 lines
266 B
TypeScript

/// <reference path='fourslash.ts'/>
////interface Fo/*1*/o<T/*2*/T extends Date> {}
goTo.marker('1');
verify.quickInfoIs('interface Foo<TT extends Date>', null);
goTo.marker('2');
verify.quickInfoIs('(type parameter) TT in Foo<TT extends Date>', null);