![function - Typescript yells me that 'string | T[]' is not assignable to parameter of type 'ReadonlyArray<T> ' - Stack Overflow function - Typescript yells me that 'string | T[]' is not assignable to parameter of type 'ReadonlyArray<T> ' - Stack Overflow](https://i.stack.imgur.com/8dkA6.png)
function - Typescript yells me that 'string | T[]' is not assignable to parameter of type 'ReadonlyArray<T> ' - Stack Overflow
Minko Gechev on Twitter: "✨ TypeScript protip: don't use the types String, Number, and Boolean. They refer to reference types. It's easy to shoot yourself in the foot when applying equality, although
![Understanding the basic “Built-in Data Types” provided by TypeScript | by Uday Hiwarale | JsPoint | Medium Understanding the basic “Built-in Data Types” provided by TypeScript | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1400/1*rh3u9UQA1VTpmB60n7OmHQ.png)
Understanding the basic “Built-in Data Types” provided by TypeScript | by Uday Hiwarale | JsPoint | Medium
![Error ts2322 type 'string' is not assignable to type 'number' In typescript | #VcreationsTech - YouTube Error ts2322 type 'string' is not assignable to type 'number' In typescript | #VcreationsTech - YouTube](https://i.ytimg.com/vi/bOZNYkDQs7s/maxresdefault.jpg)
Error ts2322 type 'string' is not assignable to type 'number' In typescript | #VcreationsTech - YouTube
![Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1200/1*vg19XtTTxYPjzayNwfgqCQ.png)
Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium
![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
![Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium](https://miro.medium.com/max/1400/1*DDnRlPV8YCrjBtKff89XBA.png)
Understanding the TypeScript's type system and some must-know concepts | by Uday Hiwarale | JsPoint | Medium
![How to work or perform operations on function parameter variables with union type in TypeScript? - DEV Community How to work or perform operations on function parameter variables with union type in TypeScript? - DEV Community](https://res.cloudinary.com/practicaldev/image/fetch/s--CkMqaOZF--/c_imagga_scale,f_auto,fl_progressive,h_1080,q_auto,w_1080/https://melvingeorge.me/_next/static/images/main-58c8d7d6d672736fada7999969196bed.jpg)