type declaration for errors are wrong
Opened this issue · 1 comments
Louis-Tian commented
martijnimhoff commented
Currently this can be used as a workaround:
import { ftpErrors } from 'ftp-srv';
new ftpErrors.GeneralError('Invalid username or password', 401)
Be sure to surpress type and lint errors.