const inferred = (() => "Hello")() // Inferred as "string"
const myFn = () => { switch(...) } const inferred = myFn()