mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
253 B
Plaintext
12 lines
253 B
Plaintext
//// [tests/cases/compiler/constWithNonNull.ts] ////
|
|
|
|
=== constWithNonNull.ts ===
|
|
// Fixes #21848
|
|
|
|
declare const x: number | undefined;
|
|
>x : Symbol(x, Decl(constWithNonNull.ts, 2, 13))
|
|
|
|
x!++;
|
|
>x : Symbol(x, Decl(constWithNonNull.ts, 2, 13))
|
|
|