From e2728025255ea93df74522b3da4d081eeed6e71c Mon Sep 17 00:00:00 2001 From: Ozair Patel Date: Wed, 18 Oct 2017 14:23:35 -0500 Subject: [PATCH] feat(typings): swapped declare class for export interface --- ftp-srv.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ftp-srv.d.ts b/ftp-srv.d.ts index c873251e..dca1fc2e 100644 --- a/ftp-srv.d.ts +++ b/ftp-srv.d.ts @@ -1,7 +1,7 @@ import * as tls from 'tls' import { Stats } from 'fs' -declare class FileSystem { +export interface FileSystem { constructor(connection: any, {root, cwd}?: { root: any; cwd: any; @@ -35,7 +35,7 @@ declare class FileSystem { getUniqueName(): string; } -declare class FtpConnection { +export interface FtpConnection { server: FtpServer; id: string; log: any; @@ -52,7 +52,7 @@ declare class FtpConnection { } -interface FtpServerOptions { +export interface FtpServerOptions { pasv_range?: number | string, greeting?: string, tls?: tls.SecureContext | false, @@ -63,7 +63,7 @@ interface FtpServerOptions { log: any } -declare class FtpServer { +export interface FtpServer { constructor(url: string, options?: FtpServerOptions); readonly isTLS: boolean;