@types/promise-ftp-common
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by coolreader18.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/promise-ftp-common

Weekly Downloads

15,090

Version

1.1.3

License

MIT

Unpacked Size

3.77 kB

Total Files

5

Last publish

Collaborators

  • types