14 lines
No EOL
305 B
TypeScript
14 lines
No EOL
305 B
TypeScript
/// <reference path="fourslash.ts"/>
|
|
|
|
//// interface Int<T> {
|
|
////
|
|
//// val<U>(f: (t: T) => U): Int<U>;
|
|
////
|
|
//// }
|
|
////
|
|
//// declare var v1: Int<string>;
|
|
////
|
|
//// var /*1*/v2/*2*/: Int<number> = v1;
|
|
|
|
verify.errorExistsBetweenMarkers("1", "2");
|
|
verify.numberOfErrorsInCurrentFile(1); |