#Choosing left/right in type
1 messages · Page 1 of 1 (latest)
This error can't appear, it's assignable because it appears exactly in the union
Preview:```ts
declare const a: (r: Response) => boolean
const b:
| ((x: Response) => boolean)
| ((x: Response) => Promise<boolean>) = a```
You can choose specific lines to embed by selecting them before copying the link.
unless you import Response from somewhere in one place and use the global Response in another