2017-08-29 01:10:03 +02:00
|
|
|
// @strict: true
|
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
//// var f = function f(x: [|string?|]) {
|
|
|
|
//// }
|
2017-10-10 20:28:05 +02:00
|
|
|
|
|
|
|
verify.codeFix({
|
2017-12-02 01:38:59 +01:00
|
|
|
description: "Change 'string?' to 'string | null | undefined'",
|
2017-10-10 20:28:05 +02:00
|
|
|
errorCode: 8020,
|
|
|
|
index: 1,
|
|
|
|
newRangeContent: "string | null | undefined",
|
|
|
|
});
|