Type error: Property ‘onRouteChangeStart’ does not exist on type ‘SingletonRouter’.

「Type error: Property ‘onRouteChangeStart’ does not exist on type ‘SingletonRouter’.」のアイキャッチ画像

参考記事

Multiple event listeners in Next.js router