-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES Module support #8
Conversation
@hailiang-wang Please help this PR to fix the |
ping @hailiang-wang |
Because the https://github.com/chatopera/chatopera-nodejs-sdk has been disabled the issue function, so I leave the reason here: After inspecting the source code of I hope it can be resolved because it is breaking the importing code in the downstream TS programs. |
@mukaiu Could you please help us to review this PR, and if it's OK let's move on to merge it? Thank you very much! |
RepoConfig, | ||
ChatoperaOptions, | ||
ChatoperaResponse, | ||
} from './chatopera' | ||
} from './chatopera.js' | ||
|
||
import { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New code, need to add file extension.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge the latest code to resolve eslint.
Link to:
Issues:
ChatOpera
export from@chatopera/sdk
See:
https://github.com/wechaty/wechaty-chatopera/blob/45fb0a43e0fbf4e5d19c2cf2c8db19de7f55ada8/src/asker.ts#L12-L15