The errors are exposed in the declaration file at top level.
|
export class GeneralError extends Error { |
But they are actually exported under the ftpErrors.
|
module.exports.ftpErrors = errors; |
Should wrap the errors in the type definition inside a namespace to match the code.
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.