Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
ClientConfig interface created
Browse files Browse the repository at this point in the history
  • Loading branch information
Snafkin547 authored and markstos committed Oct 19, 2022
1 parent 7a85898 commit e7b96b3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions node-ses.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,10 @@ declare module "node-ses" {
sendemail(options: sendEmailOptions, callback: Callback): void;
sendRawEmail(options: sendRawEmailOptions, callback: Callback): void;
}
export function createClient({
key,
secret,
amazon
}: {
export interface ClientConfig {
key: string;
secret: string;
amazon?: string;
}): Client;
}
export function createClient(options?: ClientConfig): Client;
}

0 comments on commit e7b96b3

Please sign in to comment.