6 ms·
TypeScript has discriminated unions if that's what you were thinking of https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions http
by tubthumper8 3y ago
TypeScript has discriminated unions if that's what you were thinking of
https://www.typescriptlang.org/docs/handbook/2/narrowing.html#discriminated-unions https://www.typescriptlang.org/docs/handbook/2/narrowing.htm...