4 ms·
Uff.The active one is optional, but also allows "unset" as a string, and does not allow null or undefined. Why not just have it optional and lack of it means i
by mejutoco 3y ago
Uff.The active one is optional, but also allows "unset" as a string, and does not allow null or undefined.
Why not just have it optional and lack of it means it is unset?
https://www.typescriptlang.org/docs/handbook/advanced-types.html https://www.typescriptlang.org/docs/handbook/advanced-types....