TypeScript/tests/cases/fourslash/codeFixChangeJSDocSyntax_all.ts
Andy 3e32e15895
Add 'fixAllDescription' property to CodeFixAction (#22616)
* Add 'fixAllDescription' property to CodeFixAction

* Code review

* Add to protocol

* Make fixAllDescription be just a string
2018-03-27 18:21:21 -07:00

11 lines
282 B
TypeScript

/// <reference path='fourslash.ts' />
// @strict: true
////function f(a: ?number, b: string!) {}
verify.codeFixAll({
fixId: "fixJSDocTypes_plain",
fixAllDescription: "Change all jsdoc-style types to TypeScript",
newFileContent: "function f(a: number | null, b: string) {}",
})