-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Description
A question about typescript, I notice wechaty has generated index.d.ts. How to add it in my project?
wechaty is installed via npm.
npm install wechaty
The latest version in npmjs.org is v0.6.21.
After referencing the index.d.ts in typings.json, I would like to use wechaty in such way.
Currently, it is imported like an usual module.
const {
Wechaty
, Config
, log
} = require('wechaty');
Project Repo
Metadata
Metadata
Assignees
Labels
No labels