@types/simplesmtp
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -76,3 +76,2 @@ // Type definitions for simplesmtp 0.3.35 | ||
export class SMTPServer extends events.EventEmitter { | ||
constructor(options?: SmtpServerOptions); | ||
@@ -95,12 +94,8 @@ | ||
public end(callback: () => void): void; | ||
} | ||
export class SimpleServer extends events.EventEmitter { | ||
constructor(callback?: (connection: SimpleServerConnection) => void); | ||
constructor(options?: SmtpServerOptions, callback?: (connection: SimpleServerConnection) => void); | ||
public server: SMTPServer; | ||
@@ -116,3 +111,2 @@ | ||
public listen(port: number, host: string, callback?: (error: Error) => void): void; | ||
} | ||
@@ -152,4 +146,6 @@ | ||
export function createSimpleServer(callback?: (connection: SimpleServerConnection) => void): SimpleServer; | ||
export function createSimpleServer(options?: SmtpServerOptions, callback?: (connection: SimpleServerConnection) => void): SimpleServer; | ||
export function createSimpleServer( | ||
options?: SmtpServerOptions, | ||
callback?: (connection: SimpleServerConnection) => void, | ||
): SimpleServer; |
{ | ||
"name": "@types/simplesmtp", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"description": "TypeScript definitions for simplesmtp", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simplesmtp", | ||
}, | ||
"typesPublisherContentHash": "dbdb8e0b134dcefc27ffdb9defb7e40aa1a6eea7d93a3c10d5c757b278c6667d", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "5c28d8f6179f5fdf9473da177cd55ce9c7239202d109d9b96dd1617bb69f4aac", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 29 Apr 2023 04:03:45 GMT | ||
* Last updated: Mon, 25 Sep 2023 13:39:06 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
6765
136