60efb65931
* Do not ts-ignore noImplicitAny suggestions Still need to write tests. * Add tests * More tests * Update baselines
23 lines
325 B
TypeScript
23 lines
325 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @noEmit: true
|
|
// @noImplicitAny: false
|
|
// @Filename: important.js
|
|
|
|
////[|function f(foo) {
|
|
//// foo += 2
|
|
//// return foo
|
|
////}|]
|
|
|
|
|
|
verify.rangeAfterCodeFix(`/**
|
|
* @param {number} foo
|
|
*/
|
|
function f(foo) {
|
|
foo += 2
|
|
return foo
|
|
}
|
|
`);
|