TypeScript/tests/cases/fourslash/squiggleFunctionExpression.ts

10 lines
328 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
/// <reference path="fourslash.ts"/>
////function takesCallback(callback: (n) => any) { }
2014-07-30 00:28:25 +02:00
////takesCallback(function inner(n) { var /*1*/k/*2*/: string = 10; });
2014-07-13 01:04:16 +02:00
verify.errorExistsBetweenMarkers("1", "2");
verify.not.errorExistsBeforeMarker("1");
verify.not.errorExistsAfterMarker("2");
verify.numberOfErrorsInCurrentFile(1);