mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
235 B
TypeScript
13 lines
235 B
TypeScript
import PromiseSftp = require("promise-sftp");
|
|
|
|
const sftp = new PromiseSftp();
|
|
|
|
// $ExpectType () => boolean
|
|
sftp.destroy;
|
|
|
|
// $ExpectType Bluebird<DirectoryListing[]>
|
|
sftp.list();
|
|
|
|
// $ExpectType typeof STATUSES
|
|
PromiseSftp.STATUSES;
|