4 ms·
You can provide your own type guards: https://www.typescriptlang.org/docs/handbook/advanced-types.html https://www.typescriptlang.org/docs/handbook/advanced-typ
by lilactown 9y ago
You can provide your own type guards: https://www.typescriptlang.org/docs/handbook/advanced-types.html https://www.typescriptlang.org/docs/handbook/advanced-types....
Doing this in the general case, I assume, is probably not practical.