Wednesday, August 14, 2019

A required parameter cannot follow an optional parameter.

When you see this error in TypeScript it is exactly what it appears to be. Move the optional parameters in your method/function signature farther downstream past the not-so-optional parameters and the problem will go away.

No comments:

Post a Comment