npm.io
1.1.3 • Published 2 years ago

@types/promise-ftp-common

Licence
MIT
Version
1.1.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/promise-ftp-common

Summary

This package contains type definitions for promise-ftp-common (https://github.com/realtymaps/promise-ftp-common).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promise-ftp-common.

index.d.ts

export enum STATUSES {
    NOT_YET_CONNECTED = "not yet connected",
    CONNECTING = "connecting",
    CONNECTED = "connected",
    LOGGING_OUT = "logging out",
    DISCONNECTING = "disconnecting",
    DISCONNECTED = "disconnected",
    RECONNECTING = "reconnecting",
}
export class FtpConnectionError extends Error {}
export class FtpReconnectError extends Error {
    constructor(
        disconnectError?: string | Error,
        connectError?: string | Error,
        onCwd?: boolean,
    );
    connectError: string | Error;
    disconnectError: string | Error;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 0939 GMT
  • Dependencies: none

Credits

These definitions were written by coolreader18.