浏览代码

Update README.md

czhen 3 年之前
父节点
当前提交
e6c7f91689
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      client/README.md

+ 7 - 0
client/README.md

@@ -25,12 +25,19 @@
 ### Fixed pacakge version
 
 Temporarily we specify 3 packages' version for ts build.
+
 ```
 "@material-ui/core": "4.11.4",
 "@material-ui/lab": "4.0.0-alpha.58",
 "react-i18next": "11.10.0",
 ```
 
+`react-i18next`'s `useTranslation(<name>)` will return a `t` function, which used to return `string` and `string{}` type. But in latest version it only return `string` and cause typecheck error.
+
+`@material-ui/core` change `TablePagination`(from '@material-ui/core/TablePagination') type in latest version. We specified a former version to prevent error here.
+
+In future we will fix all type issues and remove specified package version usage.
+
 ### How to name the file
 
 We use Camel-Case to name the file.