60efb65931
* Do not ts-ignore noImplicitAny suggestions Still need to write tests. * Add tests * More tests * Update baselines
19 lines
305 B
TypeScript
19 lines
305 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
/////**
|
|
//// * @param {?} x
|
|
//// * @returns {number}
|
|
//// */
|
|
////var f = (x) => x
|
|
|
|
verify.codeFix({
|
|
description: "Annotate with type from JSDoc",
|
|
index: 0,
|
|
newFileContent:
|
|
`/**
|
|
* @param {?} x
|
|
* @returns {number}
|
|
*/
|
|
var f = (x: any): number => x`,
|
|
});
|