mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
7 lines
163 B
TypeScript
7 lines
163 B
TypeScript
// @strict: true
|
|
|
|
declare let f: null | ((x: string) => void);
|
|
|
|
let g = f || (abc => { void abc.toLowerCase() })
|
|
let gg = f ?? (abc => { void abc.toLowerCase() })
|