腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
类型
'
Readonly
<{ }> &
Readonly
<{
Readonly
<?:
ReactNode
;}>‘
上
不存在
属性
’
导航
‘
javascript
、
typescript
、
react-native
renderItem={({item: song}) => <Text>{song.title}</Text>} </View> } } 对于
导航
浏览 50
提问于2020-01-23
得票数 0
回答已采纳
3
回答
“
类型
”“
Readonly
<{
Readonly
<?:
ReactNode
;}> &
Readonly
<{}>”“
上
不存在
属性
”“XYZ”“
javascript
、
reactjs
、
typescript
、
visual-studio-code
、
babeljs
TypeScript或VScode的某种预设配置有关,因为当我在编辑器中构建时,我遇到了类似的问题(我甚至复制粘贴了网站上的最终index.js代码,没有编译时错误),因此无法识别每个组件的.props
属性
解决这个问题的唯一方法是,如果我真的硬编码,为每个类创建一个props
属性
,并将其设置为任何类似的
属性
: "dependencies": { "@types/react":
浏览 0
提问于2018-09-10
得票数 33
回答已采纳
1
回答
类型
'
Readonly
<{ }> &
Readonly
<{ children?:
ReactNode
;}>‘
上
不存在
属性
'handleLoginDisplay’
typescript
、
react-redux
、
react-tsx
HANDLE_LOGIN_DISPLAY' })}
类型
'
Readonly
<{ }> &
Readonly
<{ children?:
ReactNode
;}>‘
上
不存在
属性
'handleLoginDisplay’。.ts(2339)
浏览 120
提问于2019-08-02
得票数 1
回答已采纳
1
回答
“Opacity”在
类型
“”IntrinsicAttributes“”
上
不存在
,在React本机中引发视图不透明时出错“”
javascript
、
reactjs
、
typescript
、
react-native
、
eslint
写完这句话后,typescript文件在下面的行
上
显示一个错误。 React-Native 0.60+你可以传入一个新的不透明
属性
: <View opacity={true ?0.5 : 1}> </View> 错误堆栈:错误
属性
“”opacity“”在
类型
“”IntrinsicAttributes& IntrinsicClassAttributes“”视图不透明
上
不存在
。:
ReactNode
;}>’。:
React
浏览 50
提问于2021-07-20
得票数 0
1
回答
属性
'setUser‘在
类型
'
Readonly
<{ }> &
Readonly
<{子?:
ReactNode
;}>
上
不存在
reactjs
、
typescript
、
electron
Property 'setUser' does not exist on type '
Readonly
<{}> &
Readonly
<{ children?:
ReactNode
; }>'.
浏览 1
提问于2020-08-10
得票数 2
回答已采纳
1
回答
类型
'
Readonly
<{ IGoogleMapTrackerProps }> &
Readonly
<{ chirldren?:
ReactNode
;}>‘
上
不存在
属性
'google’
javascript
、
node.js
、
reactjs
、
sharepoint
我是SharePoint的初学者,我坚持使用谷歌地图。我安装了google-maps react,但有一个错误显示给我看。我不知道怎么解决这个问题。请让我知道这个解决方案。谢谢
浏览 0
提问于2020-03-04
得票数 0
1
回答
React无法将
属性
传递给组件
reactjs
、
typescript
类型
'{ phrase: string;}‘不能赋值给
类型
'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly
&
Readonly
<{:
ReactNode
;}>’。':
ReactNode
;}>‘
类型
上
不存在
属性
'phrase’。Overload 2 of 2,'
浏览 15
提问于2020-09-03
得票数 0
回答已采纳
1
回答
类型
'
Readonly
<{ }> &
Readonly
<{ children?:
ReactNode
;}>‘
上
不存在
属性
。TS2339
reactjs
、
react-proptypes
const { toggleTodo, id } = this.props; // <-- Error} 我已经尝试了几种方法,比如向我为这个组件添加的接口添加
属性
,添加绑定语句,为这些
属性
添加方法等。
浏览 569
提问于2020-07-18
得票数 0
11
回答
ReactJS TS,
类型
‘
Readonly
<{子?:
ReactNode
}>&
Readonly
<MyProps>’
上
不存在
属性
'match‘。
reactjs
、
typescript
我得到以下错误: import Api from '../..我的问题基本
上
是,我如何声明我的MyProps能够做到这一点?
浏览 1
提问于2018-05-01
得票数 14
回答已采纳
1
回答
类型
“
Readonly
<Props>&
Readonly
<{子?:
ReactNode
;}>”
上
不存在
类型
记录错误
属性
x
javascript
、
typescript
使用Nextjs,我有一个基本组件--我想要对其进行
类型
检查,但是我得到了错误。我如何打印我的对象数组?ERROR in C:/Users/Matt/sites/shell/pages/index.tsx(22,4): 22:4 Property 'swc' does not exist on type '
Readonly
<Props> &
Readonly
<{ children?:
ReactNode
; }
浏览 4
提问于2020-02-21
得票数 0
回答已采纳
1
回答
使用React
类型
记录的状态:
类型
'IntrinsicAttributes & IntrinsicClassAttributes
上
不存在
属性
reactjs
、
typescript
、
jsx
、
react-state
、
react-typescript
<{}> &
Readonly
<{子代?:
ReactNode
;}>‘。
类型
'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly
<{}> &
Readonly
<{子?:
ReactNode
;}>
上
不存在
属性
'notes‘。重载2中的2,‘(道具:{},上下文?:any):Ind
浏览 1
提问于2020-01-04
得票数 12
回答已采纳
1
回答
反应本机错误:
属性
“历史记录”
不存在
reactjs
、
typescript
、
react-native
、
react-router
我正在使用mongodb创建注册登录模块,表示和反应,但在创建过程中遇到的
属性
历史记录
不存在
错误: import { login } fr
浏览 4
提问于2019-07-09
得票数 1
回答已采纳
1
回答
使用IntrinsicAttributes & IntrinsicClassAttributes<ImageModal>的反应本机图像模态问题
reactjs
、
image
、
types
、
modal-dialog
、
native
cdn.pixabay.com/photo/2019/07/25/18/58/church-4363258_960_720.jpg', />
类型
modalImageStyle:{ width: number;};源:{ uri: string;};}”不能分配到键入'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly</e
浏览 1
提问于2021-10-22
得票数 0
2
回答
如何使用
类型
记录在reactjs中传递数据
reactjs
、
components
、
pass-data
、
tsx
在哪里可以声明
类型
?}完整的错误消息是: 键入'{ key: any;data: any;}‘不能分配到键入'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly
<{}> &
Readonly
<{子代?:
ReactNode
;}>’。'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly</em
浏览 0
提问于2019-08-04
得票数 4
回答已采纳
1
回答
如何修复
类型
记录错误(
Readonly
<{ }> &
Readonly
<{子>?:
ReactNode
;}>)?
reactjs
、
typescript
我从工作的git存储库克隆了应用程序,启动并接收了错误:
属性
'language‘在
类型
'
Readonly
<{ }> &
Readonly
<{子>:
ReactNode
;}>
上
不存在
。
浏览 4
提问于2020-06-01
得票数 0
回答已采纳
1
回答
nextjs- typescript-
属性
'className‘在
类型
'IntrinsicAttributes & IntrinsicClassAttributes’
上
不存在
reactjs
、
typescript
、
next.js
- https://github.com/zeit/next.js/tree/master/examples/with-typescript创建了基本的nextjs应用程序 我无法将className
属性
添加到任何元素“IntrinsicAttributes& IntrinsicClassAttributes &
Readonly
&
Readonly
<{ IntrinsicAttributes?:
ReactNode</em
浏览 97
提问于2019-10-07
得票数 6
1
回答
为什么我的React [this.props]不包含捕获参数所必需的元素
reactjs
、
react-router
/js/module/sample01.tsx:8:29 TS2339:
属性
'firstName‘在'
Readonly
<{子?:
ReactNode
;}&
Readonly
<{ }>’
类型
上
不存在
错误。 在
类型
'
Readonly
<{子?:
ReactNode
;}&
Readonly
<{ }><e
浏览 2
提问于2018-04-04
得票数 0
2
回答
如何在spfx中发送数据b/w父级和子级
reactjs
、
sharepoint
、
spfx
错误: 键入“{ pdata: number;}”不能分配到键入“IntrinsicAttributes& IntrinsicClassAttributes &
Readonly
<{子代?:
ReactNode
;}&
Readonly
<{ }>”。'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly
<{子?:
ReactNode
;}> &
Readonl
浏览 2
提问于2019-11-21
得票数 0
回答已采纳
1
回答
传递
属性
以响应component.Getting错误-
类型
‘
Readonly
<{}>
上
不存在
属性
'firstName’
reactjs
、
typescript
、
material-ui
请耐心点,这里的新手有反应1.add-user.tsx'
Readonly
<{}>‘
属性
'lastName’
上
不存在
属性
'
Readonly
<{}>‘ import * as ReactDOM from "react-dom"
浏览 4
提问于2022-01-04
得票数 1
回答已采纳
1
回答
类型
记录不允许我在BrowserRouter中使用历史记录
javascript
、
reactjs
、
typescript
、
react-router
createBrowserHistory() 键入'{子元素:元素;历史记录:历史;}‘不能分配到键入'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly
&
Readonly
<{
ReactNode
;}>’。
属性
'IntrinsicAttributes & IntrinsicClassAttributes &
Readonly
&
Re
浏览 0
提问于2019-08-21
得票数 4
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券