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

20 lines
409 B
TypeScript

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