Ok, finally found out that it wasn't an OL nor Proj4 issue but an ESLint one. register(proj4 as any) solved this.
register(proj4 as any)