AreParamEqual type
Compare if props of 2 react components are equal, result type will be true/false
type AreParamEqual<A, B> = AreTypeEqual<
Required<Parameters<A>[0]>,
Required<Parameters<B>[0]>
>
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Compare if props of 2 react components are equal, result type will be true/false
type AreParamEqual<A, B> = AreTypeEqual<
Required<Parameters<A>[0]>,
Required<Parameters<B>[0]>
>