icetee / node-ftp

An FTP client module for node.js
MIT License
25 stars 16 forks source link

How to use @types/ftp to support type check for this fork? #8

Open dreamdevil00 opened 6 years ago

dreamdevil00 commented 6 years ago

As above. Need help.

icetee commented 6 years ago

Hi, I do not use TypeScript, but may set path in typeRoots or https://stackoverflow.com/questions/38966047/good-ways-to-use-a-fork-of-type-definition-like-types?

dreamdevil00 commented 6 years ago

Currently, I added a index.d.ts to the project, and pasted @types/ftp code into it to support type check?

@icetee Have you considered add type definition file to the repo?