#.

9 messages · Page 1 of 1 (latest)

summer palm
#
declare const fn: () => undefined | false

const a = fn()
#

!ts a

zealous lavaBOT
#
const a: false | undefined /* 3:7 */```
summer palm
#

its, not? unless you mean something else

#

unless the example you provided is exactly what you mean

#

screenshots aren't really helpful

#

playground examples and code snippets are much more useful

#

there isn't enough information here to help you