I'm trying to use v4 with SSR and running into this issue. Without manually registering the interface I'm getting an error. See more details of this issue in the Next.js PR I have open:
I am also experiencing this issue with 4.2.0. @mohsen1 were you able to come up with a solution other than manually registering the interface? That's not working me either because of code splitting