Skip to content

Commit a53d8bf

Browse files
Update for Deno v1.4.0 (#33)
Co-authored-by: EnokMan <[email protected]>
1 parent 217469c commit a53d8bf

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

config.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
1-
export interface ConnectConfig {
1+
interface ConnectConfig {
22
hostname: string;
33
port?: number;
44
}
55

6-
export interface ConnectConfigWithAuthentication extends ConnectConfig {
6+
interface ConnectConfigWithAuthentication extends ConnectConfig {
77
username: string;
88
password: string;
99
}
1010

11-
export interface SendConfig {
11+
interface SendConfig {
1212
to: string;
1313
from: string;
1414
subject: string;
1515
content: string;
1616
}
17+
18+
export type { ConnectConfigWithAuthentication, ConnectConfig, SendConfig }

mod.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export type {
2-
ConnectConfig,
3-
ConnectConfigWithAuthentication,
4-
SendConfig,
5-
} from "./config.ts";
6-
export { SmtpClient } from "./smtp.ts";
2+
ConnectConfig,
3+
ConnectConfigWithAuthentication,
4+
SendConfig,
5+
} from './config.ts'
6+
export { SmtpClient } from "./smtp.ts";

0 commit comments

Comments
 (0)