mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
6 lines
141 B
TypeScript
6 lines
141 B
TypeScript
// @strict: true
|
|
|
|
declare const a1: 'literal' | undefined | null
|
|
const aa1 = a1 ?? a1.toLowerCase()
|
|
const aa2 = a1 || a1.toLocaleUpperCase()
|