// @strict: true declare function f(): string | undefined; let gg = f() ?? 'foo'