We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The errors are exposed in the declaration file at top level.
ftp-srv/ftp-srv.d.ts
Line 44 in e8efe32
But they are actually exported under the ftpErrors.
ftp-srv/ftp-srv.js
Line 8 in e8efe32
Should wrap the errors in the type definition inside a namespace to match the code.
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
No branches or pull requests
The errors are exposed in the declaration file at top level.
ftp-srv/ftp-srv.d.ts
Line 44 in e8efe32
But they are actually exported under the ftpErrors.
ftp-srv/ftp-srv.js
Line 8 in e8efe32
Should wrap the errors in the type definition inside a namespace to match the code.
The text was updated successfully, but these errors were encountered: