Solved - Type 'x' is not assignable to type 'never' using TypeScript in React
This error occurs when you have not explicitly given a type to a value. Resulting in the implicit assignment of the type "never" to the value. The "never" type always expects the value to the empty and throws an error when its not empty.
