* 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
10 lines
236 B
TypeScript
10 lines
236 B
TypeScript
// @strict: true
|
|
/// <reference path='fourslash.ts' />
|
|
//// var x: [|?number|] = 12;
|
|
|
|
verify.codeFix({
|
|
description: "Change '?number' to 'number | null'",
|
|
errorCode: 8020,
|
|
index: 0,
|
|
newRangeContent: "number | null",
|
|
});
|