TypeScript typeof 'function'搭配Exclude〈T,Function>使用

velaa5lx  于 2022-10-29  发布在  TypeScript
关注(0)|答案(3)|浏览(112)

{"header":{"type":"auto_translation","ret_code":"error","time_cost":570.0,"request_id":"3a7e2eab572711ed8b7ea7989c294558"},"message":"Translation error (20001), please retry later. Detail: RuntimeException - The length of source sentence is too long!!! - {\n "header": {\n "time_cost": 0.00025,\n "type": "auto_translation",\n "ret_code": "The length of source sentence is too long!!!"\n }\n}"}

piok6c0g

piok6c0g1#

还相关:#26970的最大值。

0h4hbjxa

0h4hbjxa2#

这可能需要#29317来取消使用not Function的联合的Exclude分支,否则您将以类型/非类型化调用结束。

vfwfrxfs

vfwfrxfs3#

此问题应通过#29317解决

相关问题