升级 tslib & 解决 ts 类型错误问题 (#1652)

This commit is contained in:
liaoxuezhi 2021-03-14 19:01:45 +08:00 committed by GitHub
parent 408372cf56
commit 6e3762dc90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
"setimmediate": "1.0.5",
"sortablejs": "1.10.0",
"tinymce": "5.6.2",
"tslib": "^1.10.0",
"tslib": "^2.1.0",
"uncontrollable": "7.0.2",
"video-react": "0.14.1"
},

View File

@ -45,7 +45,7 @@ export class HeadCellSearchDropDown extends React.Component<
buildSchema() {
const {searchable, sortable, name, label, translate: __} = this.props;
let schema;
let schema: any;
if (searchable === true) {
schema = {