65af685b49
* Fix #19959 and #19958: Remove un-localizable messages * Update message * Reorder error messages * Fix https://github.com/Microsoft/TypeScript/issues/15399: remove periods at the end of messages * Accept baselines for error code changes * accept baselines for removed periods * Update diagnostic messages
11 lines
279 B
TypeScript
11 lines
279 B
TypeScript
// @strict: true
|
|
/// <reference path='fourslash.ts' />
|
|
//// var f = function f(x: [|string?|]) {
|
|
//// }
|
|
|
|
verify.codeFix({
|
|
description: "Change 'string?' to 'string | null | undefined'",
|
|
errorCode: 8020,
|
|
index: 1,
|
|
newRangeContent: "string | null | undefined",
|
|
});
|