3e32e15895
* Add 'fixAllDescription' property to CodeFixAction * Code review * Add to protocol * Make fixAllDescription be just a string
11 lines
339 B
TypeScript
11 lines
339 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @strict: true
|
|
////function f(a: ?number, b: string!) {}
|
|
|
|
verify.codeFixAll({
|
|
fixId: "fixJSDocTypes_nullable",
|
|
fixAllDescription: "Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)",
|
|
newFileContent: "function f(a: number | null | undefined, b: string) {}",
|
|
})
|