2:49am PST - January 22nd, 2023
why is there no `satisfies` for types? type T = { x: 1 } satisfies { x: number } the walkaround I found is type T = { x: 1 } null as any as T satisfies { x: number }
0 retweets 0 likes - Oren Elbaum (@OrenElbaum)why is there no `satisfies` for types? type T = { x: 1 } satisfies { x: number } the walkaround I found is type T = { x: 1 } null as any as T satisfies { x: number }
0 retweets 0 likes - Oren Elbaum (@OrenElbaum)