/// <reference path='fourslash.ts' />

// @strict: false
// @allowJs: true
// @checkJs: true
// @noImplicitAny: true
// @Filename: important.js
////function f([|a|]){
////    a;
////}
////f();
////f(1);

verify.codeFix({
    description: "Infer parameter types from usage",
    index: 0,
    newFileContent:
`/**
 * @param {number} [a]
 */
function f(a){
    a;
}
f();
f(1);`,
});
