From efbc4ea94fa8e281b8ad60e8c4560f5edf1d2804 Mon Sep 17 00:00:00 2001 From: James Cleveland Date: Tue, 16 Feb 2021 22:44:27 +0000 Subject: [PATCH] Correct types Bowser doesn't actually export methods as named exports, they are only destructured from the `Bowser` class. The types should reflect this. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index d95656a..e78c7ac 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2,7 +2,7 @@ // Project: https://github.com/lancedikson/bowser // Definitions by: Alexander P. Cerutti , -export = Bowser; +export default Bowser; export as namespace Bowser; declare namespace Bowser {