Skip to content

Commit

Permalink
Updated Readme upon the changes to typings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandercerutti authored Jan 15, 2019
1 parent 93e1ff5 commit 3581413
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ The upcoming 2.0 version has drastically changed API. All available methods can
First of all, require the library. This is a UMD Module, so it will work for AMD, Typescript and CommonJS module systems.

```javascript
const Bowser = require('bowser'); // CommonJS
const Bowser = require("bowser"); // CommonJS

import Bowser = require('bowser'); // Typescript
import * as Bowser from "bowser" // Typescript
```

By default, the exported version is the *ES5 transpiled version*, which **do not** include any polyfills.
Expand Down

0 comments on commit 3581413

Please sign in to comment.