Skip to content

Commit

Permalink
Update README.md (#94)
Browse files Browse the repository at this point in the history
Fixes in documentation
  • Loading branch information
tgbv authored Mar 8, 2023
1 parent 863ff87 commit 1e54899
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ npm install --save js-big-decimal
:heavy_exclamation_mark: **Note:** Usage has changed since **version 1.1.4**

Require in `javascript` as
```jsavascript
```javascript
var bigDecimal = require('js-big-decimal');
```
For `typescript`, use
```jsavascript
import bigDecimal require('js-big-decimal');
```javascript
import bigDecimal = require('js-big-decimal');
```
For `web`, when used with script tag, a variable on `Window` object is created.
```html
Expand Down

0 comments on commit 1e54899

Please sign in to comment.