2017-12-07 21:14:18 +01:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @strict: true
|
|
|
|
////function f(a: ?number, b: string!) {}
|
|
|
|
|
|
|
|
verify.codeFixAll({
|
|
|
|
fixId: "fixJSDocTypes_nullable",
|
2018-03-28 03:21:21 +02:00
|
|
|
fixAllDescription: "Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)",
|
2017-12-07 21:14:18 +01:00
|
|
|
newFileContent: "function f(a: number | null | undefined, b: string) {}",
|
|
|
|
})
|