admin管理员组文章数量:1122846
Can someone help me about this error. I cant find any solutions about it.
.next/types/app/admin/editmodel/[markaid]/page.ts:34:29
Type error: Type '{ params: ModelProps; }' does not satisfy the constraint 'PageProps'.
Types of property 'params' are incompatible.
Type 'ModelProps' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]
32 |
33 | // Check the prop type of the entry function
34 | checkFields<Diff<PageProps, FirstArg<TEntry['default']>, 'default'>>()
| ^
35 |
36 | // Check the arguments and return type of the generateMetadata function
37 | if ('generateMetadata' in entry) {
Static worker exited with code: 1 and signal: null
I am trying to build and deploy my project and i get this error cant solve it.
本文标签: javascriptType 39Props39 does not satisfy the constraint 39PageProps39 Nextjs 1513Stack Overflow
版权声明:本文标题:javascript - Type 'Props' does not satisfy the constraint 'PageProps' Next.js 15.1.3 - Stack Ove 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736281421a1926312.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论