From cc4e9a5471cba1d5c9d906b338dd9e619f331226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Wadas?= Date: Mon, 14 Jun 2021 13:25:04 +0200 Subject: [PATCH] Export type "Options" for end users --- index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 95dfc1c4..873698b6 100644 --- a/index.ts +++ b/index.ts @@ -1,6 +1,9 @@ import Client from './lib/client' import Options from './lib/interfaces/Options'; +export type { Options }; +export type { Client }; + export default class Mailgun { private formData: new () => FormData @@ -11,4 +14,4 @@ export default class Mailgun { client(options: Options) { return new Client(options, this.formData) } -}; \ No newline at end of file +};