score:0

Accepted answer

You can try to update TypeScript and Next.js to the latest versions, and reinstall dependencies. import type works on the fresh Next.js install, with the recent TypeScript versions.

import type { AppProps } from 'next/app';

Related Query

More Query from same tag