正在尝试使用React-Select进行设置。它在标准的React项目中工作得很好,但在Typescript React项目中工作得很好(两者都使用Create-React-App和webpack)。在我的typescript项目中,它显示"Select“is not exported。我可以选择"SelectBase“,但它并不像预期的那样工作。采取的步骤:我通过npm安装了react-select和@types/react-select。在我的组件中,当试图从'
/src/core/components/kiosk/Component_file.tsx(3,25):中的TypeScript错误找不到模块‘react select/异步’的声明文件。'/node_modules/react-select/async/dist/react-select.cjs.js‘隐式地具有“任意”类型。TS7016import AsyncSelect from '
在将云存储模块安装到我的Firebase Cloud Functions环境后,我立即收到以下构建错误: node_modules/@google-cloud/common/build/src/service-object.d.ts(72,45): error TS8020: JSDoc types can only be used inside documentation comments.
node_modules/@google-cloud/common/build/src/service-object.d.ts(72,45): error TS8028: JSDoc '...