I was wondering if you could put a 'Usage' example in the main readme? In my Ionic 2 project I've put the 'secure-ftp-master' folder into the 'node_modules' folder. Then in my app.module.ts added import { FTP } from 'secure-ftp-master';, and added FTP to the providers array. Then in my module, I used the same import statement, and also include private ftp: FTP in the construtor.
But when I compile the app it complains that "Can't resolve all parameters", and shows a "?" referring to the private ftp: FTP argument in the constructor.
These same steps are what I've done for many other libraries, and I'm wondering if this is how someone would use your library, or if something different is needed.
Thanks!
I was wondering if you could put a 'Usage' example in the main readme? In my Ionic 2 project I've put the 'secure-ftp-master' folder into the 'node_modules' folder. Then in my app.module.ts added
import { FTP } from 'secure-ftp-master';, and added FTP to the providers array. Then in my module, I used the same import statement, and also includeprivate ftp: FTPin the construtor.But when I compile the app it complains that "Can't resolve all parameters", and shows a "?" referring to the
private ftp: FTPargument in the constructor.These same steps are what I've done for many other libraries, and I'm wondering if this is how someone would use your library, or if something different is needed.
Thanks!