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:
parent
f09411489c
commit
efbc4ea94f
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user