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

18 lines
378 B
TypeScript

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