[zarinpal-checkout] Exported Definition Namespace (#47753)

* Added types for zarinpal-checkout

* passed lint

* fixed typo and changed default export

* exported namespace
This commit is contained in:
Omid Seyfan 2020-09-19 03:03:24 +04:30 committed by GitHub
parent 310bcc4a1d
commit 93a33b546b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,6 @@ declare namespace ZarinPal {
}
}
declare const zarinpal: { create(merchantID: string, sandbox: boolean): ZarinPal.ZarinPalInstance };
declare const ZarinPal: { create(merchantID: string, sandbox: boolean): ZarinPal.ZarinPalInstance };
export = zarinpal;
export = ZarinPal;