我有一个自定义钩子,不幸的是它是用纯JS编写的,我正在TypeScript .tsx文件中使用它。Not all constituents of type 'string | boolean | never[] | (() => Promise<void>)' are callable.Type 'string' has no call signatures.ts(2349) const toggleDictation
at xt (https://d2d1dxiu3v1f2i.cloudfront.net/19b92cb/js/index.js:6:14454)at https://d2d1dxiu3v1f2i.cloudfront.net/19b92cb/js/index.js:6:14923at i (https://d2<e