Tim Deschryver 2/9/2021

Argument of type 'interface' is not assignable to parameter of type 'interface'

Read Original

This technical article details a specific TypeScript compilation error encountered while refactoring an NgRx reducer. The author analyzes why the error 'Argument of type 'interface' is not assignable to parameter of type 'interface'' occurs with generic wrapper functions and callbacks, providing code snippets to illustrate the problem and multiple valid solutions to resolve the type mismatch.

Argument of type 'interface' is not assignable to parameter of type 'interface'

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser