TypeScript/tests/cases/fourslash/annotateWithTypeFromJSDoc11.ts
Nathan Shively-Sanders e962e4abfb Update baselines
2017-10-17 16:35:28 -07:00

16 lines
351 B
TypeScript

/// <reference path='fourslash.ts' />
/////**
//// * @param {?} x
//// * @returns {number}
//// */
////var f = /*1*/(/*2*/x) => x
verify.applicableRefactorAvailableAtMarker('2');
verify.fileAfterApplyingRefactorAtMarker('2',
`/**
* @param {?} x
* @returns {number}
*/
var f = (x: any): number => x`, 'Annotate with type from JSDoc', 'annotate');