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

15 lines
475 B
TypeScript

/// <reference path='fourslash.ts' />
////function map(fn: (variab/*1*/le1: string) => void) {
////}
////var x = <{ (fn: (va/*2*/riable2: string) => void, a: string): void; }> () => { };
// this line triggers a semantic/syntactic error check, remove line when 788570 is fixed
edit.insert('');
goTo.marker("1");
verify.quickInfoIs("(parameter) variable1: string", undefined);
goTo.marker("2");
verify.quickInfoIs("(parameter) variable2: string", undefined);