Many hours of searching and at last someone had a default _document.tsx file to reference which allowed me to go on and fix the errors in my _app.tsx file. I love next but their examples can be horribly spare. No where did it mention there were interfaces for DefaultDocumentIProps, NextDocumentContext, DefaultAppIProps, NextAppContext.
I'm in the middle of converting a rather large codebase to typescript so much appreciated. :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Many hours of searching and at last someone had a default
_document.tsx
file to reference which allowed me to go on and fix the errors in my_app.tsx
file. I love next but their examples can be horribly spare. No where did it mention there were interfaces forDefaultDocumentIProps
,NextDocumentContext
,DefaultAppIProps
,NextAppContext
.I'm in the middle of converting a rather large codebase to typescript so much appreciated. :)