![typescript - Type 'string | boolean' is not assignable to type 'never'. Type 'string' is not assignable to type 'never' - Stack Overflow typescript - Type 'string | boolean' is not assignable to type 'never'. Type 'string' is not assignable to type 'never' - Stack Overflow](https://i.stack.imgur.com/P2hZY.png)
typescript - Type 'string | boolean' is not assignable to type 'never'. Type 'string' is not assignable to type 'never' - Stack Overflow
![why is TypeScript converting string literal union type to string when assigning in object literal? - Stack Overflow why is TypeScript converting string literal union type to string when assigning in object literal? - Stack Overflow](https://i.stack.imgur.com/Ssi5q.png)
why is TypeScript converting string literal union type to string when assigning in object literal? - Stack Overflow
![How to Convert String to Boolean in Typescript | Typescript Programming | Typescript for Beginners - YouTube How to Convert String to Boolean in Typescript | Typescript Programming | Typescript for Beginners - YouTube](https://i.ytimg.com/vi/53404Xn_0Y4/maxresdefault.jpg)