Correct types

Bowser doesn't actually export methods as named exports, they are only destructured from the `Bowser` class. The types should reflect this.
pull/465/head
James Cleveland 3 years ago 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

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

Loading…
Cancel
Save