TypeScript. You can use the built-in DocumentContext type and change the file name to ./pages/_document.tsx like so: import Document, { DocumentContext } ...
確定! 回上一頁