If I use <Link href='/' prefetc> (notice the typo), there's no error message. Possibly similar comment for other params and other Next.js APIs.
Actually, it's good dev only feature. We expose few APIs like this, so we might need to have them for those as well.
Anyway, I'd like to see this as a linter something externally. Anyway, this is something I'd love to see.
Flow would catch this. I noticed the prefetch tag is missing though.
https://github.com/zeit/next.js/blob/master/examples/with-flow
Some ideas over here https://github.com/facebook/react/issues/1587
Seems like the best option is https://github.com/airbnb/prop-types forbidExtraProps since this wouldn't require someone to setup flow types etc. @arunoda If you agree I will implement this 馃憤
We could just copy over https://github.com/airbnb/prop-types/blob/master/src/forbidExtraProps.js to not hog in the whole library.
Seems like ljharb released it as separate package: https://github.com/airbnb/prop-types-exact pretty cool 馃憣 I'll experiment with it.