![Why do I got "Type 'string | number' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. " it's make me misleading : r/typescript Why do I got "Type 'string | number' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. " it's make me misleading : r/typescript](https://preview.redd.it/qkatakpqy7z51.png?width=832&format=png&auto=webp&s=ae59555d1985b09c3405790e4bfd4c0891db1772)
Why do I got "Type 'string | number' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. " it's make me misleading : r/typescript
![reactjs - React Typescript error in TextArea : Type 'string' is not assignable to type number - Stack Overflow reactjs - React Typescript error in TextArea : Type 'string' is not assignable to type number - Stack Overflow](https://i.stack.imgur.com/OrBWe.png)
reactjs - React Typescript error in TextArea : Type 'string' is not assignable to type number - Stack Overflow
![C# DateTime is generated as String in javascript - (typescript type is Date but reale value is string) · Issue #2176 · RicoSuter/NSwag · GitHub C# DateTime is generated as String in javascript - (typescript type is Date but reale value is string) · Issue #2176 · RicoSuter/NSwag · GitHub](https://user-images.githubusercontent.com/2603405/58426111-e8786000-809b-11e9-8c84-942d03e9406b.png)