那是什么意思??
- info Linting and checking validity of types ...DeprecationWarning: 'originalKeywordKind' has been deprecated since v5.0.0 and will no longer be usable after v5.2.0. Use 'identifierToKeywordKind(identifier)' instead.
字符串
我用的是下一个13.4.和我的依赖项如下:
"@prisma/client": "^5.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/node": "^20.4.5",
"@types/react": "^18.2.16",
"@types/react-dom": "^18.2.7",
"axios": "^1.4.0",
"bcryptjs": "^2.4.3",
"eslint": "^8.45.0",
"eslint-config-next": "^13.4.12",
"next": "^13.4.12",
"next-auth": "^4.22.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.45.2",
"react-uuid": "^2.0.0",
"typescript": "^5.1.6"
},
"devDependencies": {
"@vercel/analytics": "^1.0.1",
"autoprefixer": "^10.4.14",
"postcss": "^8.4.27",
"prettier-plugin-tailwindcss": "^0.4.1",
"prisma": "^5.0.0",
"tailwindcss": "^3.3.3"
}
型
我不知道,但我看到了这些警告。我才不是呢
1条答案
按热度按时间1tuwyuhd1#
这是指Typescript中的更改:https://github.com/microsoft/TypeScript/blob/main/src/deprecatedCompat/5.0/identifierProperties.ts#L28
还有一些东西,可能是你的一个依赖项,还没有适应这个变化,但这只是一个弃用警告,所以现在不用担心。🙂