node-ftp icon indicating copy to clipboard operation
node-ftp copied to clipboard

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

Open dreamdevil00 opened this issue 7 years ago • 2 comments

As above. Need help.

dreamdevil00 avatar Sep 19 '18 02:09 dreamdevil00

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?

icetee avatar Sep 19 '18 08:09 icetee

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?

dreamdevil00 avatar Sep 20 '18 05:09 dreamdevil00