简体   繁体   English

找不到模块 './components/Table/Table' 或其对应的类型声明。 ts(2307)

[英]Cannot find module './components/Table/Table' or its corresponding type declarations. ts(2307)

Trying to import a component as I have done like the other ones above it, but getting this error.尝试像上面的其他组件一样导入组件,但出现此错误。

在此处输入图像描述

So I had a trailing space in the table folder name.所以我在表文件夹名称中有一个尾随空格。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复/忽略此控制台错误“TS2307:找不到模块‘@components/common/ButtonBlock’或其相应的类型声明。” - How fix/ignore this console error “TS2307: Cannot find module '@components/common/ButtonBlock' or its corresponding type declarations.” TS2307:找不到模块 '_rc-trigger@5.2.0@rc-trigger' 或其对应的类型声明 - TS2307: Cannot find module '_rc-trigger@5.2.0@rc-trigger' or its corresponding type declarations React,Storybook - TS2307:找不到模块“按钮”或其相应的类型声明 CAN SB RESOLVE? - React,Storybook - TS2307: Cannot find module 'Button' or its corresponding type declarations CAN SB RESOLVE? 如何解决找不到找不到模块'../home/featuredRooms'或其对应的类型声明。? - how to solve cannot find Cannot find module '../home/featuredRooms' or its corresponding type declarations.? 找不到模块 '../scss/Navbar.scss' 或其对应的类型声明。 当我想在打字稿项目中使用 sass 文件时 - Cannot find module '../scss/Navbar.scss' or its corresponding type declarations. When I want to use sass file in typescript project 如何解析 './components/AppFooter' 或其相应的类型声明。 Netlify 和 railway.app 上的错误 - How to resolve './components/AppFooter' or its corresponding type declarations. Error on Netlify and railway.app 找不到模块“@uppy/core”或其相应的类型声明 - Cannot find module '@uppy/core' or its corresponding type declarations 找不到模块“graphql-hooks”或其相应的类型声明 - Cannot find module 'graphql-hooks' or its corresponding type declarations VSCode:找不到模块“antd”或其相应的类型声明 - VSCode: Cannot find module 'antd' or its corresponding type declarations 找不到模块“./styles.scss”或其对应的类型声明 - Cannot find module './styles.scss' or its corresponding type declarations
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM