如何在错误消息中获得更长的打字稿类型描述?
现在我收到如下错误消息:
TS2345: Argument of type '(action: TAction<TPayloadPanelIdTitle>, undoHandler: "utx-handler-standard" | "utx-handler-crop" ...' is not assignable to parameter of type 'CallEffectNamedFn<{ [x: string]: Func1<any>; }, string>'.
Type '(action: TAction<TPayloadPanelIdTitle>, undoHandler: "utx-handler-standard" | "utx-handler-crop" ...' is not assignable to type '[{ [x: string]: Func1<any>; }, string]'.
Property '0' is missing in type '(action: TAction<TPayloadPanelIdTitle>, undoHandler: "utx-handler-standard" | "utx-handler-crop" ...'.
椭圆形吞噬了很多信息。令人沮丧!
TypeScript版本: 2.4.1