我在angular 5中使用FormData,但它给出了下面给出的错误。approvalUser(userId): Observable<any> { formData = formData.append('id',userId); error in this line shows==> "Type 'void' is not assignab
它在"this.DataSourceFilters“上出错了 Type 'void[]' is not assignable to type 'FilterExpression[]'.Type 'void' is not assignable to type 'FilterExpression'.ts(2322
DataSourceFilters: Array<FilterExpression
我正在使用react和typescript构建富文本编辑器,但我得到了错误,我已经附加在快照中,我还粘贴了我的EditorState.tsx代码 ? 所以你能告诉我为什么我收到这个错误吗? import React, {Component} from 'react';import {EditorState} from "draft-js";
type MyProp