next.js
a426c6e4 - declare next/root-params as empty

Commit
250 days ago
declare next/root-params as empty if we just do `declare module next/root-params`, generated declarations will not be merged with it properly -- instead, the contents will all be typed as `any`. This isn't ideal, because it means that imports from 'next/root-params' will error before running build/dev, but i don't currently see a better way.
Author
Committer
Parents
Loading