You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm run build && DEBUG=wechaty:chatopera* node dist/bin/main.js
> [email protected] build
> tsc
src/setup-bot.ts:85:7 - error TS2345: Argument of type 'import("/c/ada/git/wechaty-chatopera/node_modules/wechaty/dist/src/plugin").WechatyPlugin' is not assig
nable to parameter of type 'import("/c/ada/git/osschat/node_modules/wechaty/dist/esm/src/plugin").WechatyPlugin'.
Types of parameters 'bot' and 'bot' are incompatible.
Type 'import("/c/ada/git/osschat/node_modules/wechaty/dist/esm/src/wechaty").Wechaty' is not assignable to type 'import("/c/ada/git/wechaty-chatopera/node_
modules/wechaty/dist/src/wechaty").Wechaty'.
Types have separate declarations of a private property 'options'.
85 WechatyChatopera({
~~~~~~~~~~~~~~~~~~
86 mention: false,
~~~~~~~~~~~~~~~~~~~~~~~~~~
...
92 faqSuggReplyThreshold: process.env["CHATOPERA_FAQ_SUGGREPLY_THRES"] ? parseFloat(process.env['CHATOPERA_FAQ_SUGGREPLY_THRES']): undefined,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 })
~~~~~~~~
Found 1 error.
The text was updated successfully, but these errors were encountered:
The linked module is also compiled into ESM with npm run dist.
Get along with work around now, to modify the dist file under osschat/node_module directly, just for debug purpose.
The text was updated successfully, but these errors were encountered: