mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
291 B
Plaintext
11 lines
291 B
Plaintext
constWithNonNull.ts(4,1): error TS2588: Cannot assign to 'x' because it is a constant.
|
|
|
|
|
|
==== constWithNonNull.ts (1 errors) ====
|
|
// Fixes #21848
|
|
|
|
declare const x: number | undefined;
|
|
x!++;
|
|
~
|
|
!!! error TS2588: Cannot assign to 'x' because it is a constant.
|
|
|