javascript - 如何为@material-ui/core@v4.xx 安装流类型
问题描述
如何为 4.xx 安装 material-ui/core 的流类型?看来自 1.xx 以来没有更新https://github.com/flow-typed/flow-typed/blob/master/definitions/npm/%40material-ui/core_v1.xx/flow_v0.58.x -v0.88.x/core_v1.xxjs并且文档非常稀疏https://material-ui.com/guides/flow/。我认为这可能不受支持,但图标类型定义似乎在这里维护,所以我有点困惑。
解决方案
npm install --save @types/material-ui
或者
yarn add @types/material-ui
推荐阅读
- python - 如何在 keras/tensorflow 中定义秩大于 4 的张量的 2D 卷积
- android - 将 h5 文件转换为 tflite 文件的 input_arrays 和 output_arrays 是什么?
- c# - 为什么不能将 Func 强制转换为 Expression,而 lambda 可以
- php - symfony4 自定义验证器无法访问私有属性
- java - spring jpa crud 存储库在多线程环境中从数据库中获取旧数据
- javascript - Angular:从父组件调用函数时出错
- android-contentprovider - 用于动态功能交付(包括 contentProvider)的 Android 应用程序包可能会失败
- python - 即时调整来自另一个脚本的 dict 值
- iphone - 产科医生需要帮助!如何在 iPhone 和 Windows 10 笔记本电脑之间准确同步系统时间
- r - 使用 tidyverse 按项目和时间计算分类变量的百分比