1
0
mirror of https://github.com/lancedikson/bowser synced 2024-09-28 22:30:44 +00:00

Correct types

Bowser doesn't actually export methods as named exports, they are only destructured from the `Bowser` class. The types should reflect this.
This commit is contained in:
James Cleveland 2021-02-16 22:44:27 +00:00 committed by GitHub
parent f09411489c
commit efbc4ea94f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View File

@ -2,7 +2,7 @@
// Project: https://github.com/lancedikson/bowser // Project: https://github.com/lancedikson/bowser
// Definitions by: Alexander P. Cerutti <https://github.com/alexandercerutti>, // Definitions by: Alexander P. Cerutti <https://github.com/alexandercerutti>,
export = Bowser; export default Bowser;
export as namespace Bowser; export as namespace Bowser;
declare namespace Bowser { declare namespace Bowser {