首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏前端自习课

    【React】1427- 如何使用 TypeScript 开发 React 函数式组件?

    FCComponent>

    ); } 提示警告内容: Type '{ children: string; text: string; }' is not assignable to type 'IntrinsicAttributes Property 'children' does not exist on type 'IntrinsicAttributes & FCProps'.

    7.7K10编辑于 2022-11-15
  • 来自专栏前端全栈分享

    Vue3和@types/node的类型不兼容问题

    runtime-dom.d.ts(1401, 3): The expected type comes from property 'onClick' which is declared here on type 'IntrinsicAttributes

    2.9K30编辑于 2022-11-23
  • 来自专栏coldPlayer的前端专栏

    vue-tsc --noEmit导致打包报TS类型错误

    ~~~~~src/layout/index.vue:14:22 - error TS2322: Type '{}' is not assignable to type 'IntrinsicAttributes

    4.5K50编辑于 2023-11-07
  • 来自专栏黯羽轻扬

    JSX_TypeScript笔记17

    optionalProp: 'optional' }; // 正确 <MyComponent { ...props } requiredProp="required" /> P.S.另外,JSX 框架可以通过JSX.IntrinsicAttributes

    2.9K30发布于 2019-06-12
  • 来自专栏前端技术地图

    TypeScript 接口合并, 你不知道的妙用

    [name: string]: any } export interface IntrinsicAttributes extends ReservedProps {} } } 我们也可以随意地扩展

    1.6K40编辑于 2023-10-20
  • 领券