You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version 5.0.21 I'm getting the following TypeScript error when compiling:
node_modules/@uirouter/core/lib/vanilla/baseLocationService.d.ts:43:5 - error TS2416: Property 'onChange' in type 'BaseLocationServices' is not assignable to the same property in base type 'LocationServices'.
Type '(cb: EventListener) => () => Function[]' is not assignable to type '(callback: Function) => Function'.
Types of parameters 'cb' and 'callback' are incompatible.
Type 'Function' is not assignable to type 'EventListener'.
Type 'Function' provides no match for the signature '(evt: Event): void'.
43: onChange(cb: EventListener): () => Function[];
~~~~~~~~
Is there something wrong with my configuration or my imports? It worked with 5.0.20.