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

18 lines
365 B
TypeScript

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