From 1e54899e8d063a1fd8ba72c5fd9338d459d74407 Mon Sep 17 00:00:00 2001 From: tgbv <31542280+tgbv@users.noreply.github.com> Date: Wed, 8 Mar 2023 18:16:30 +0200 Subject: [PATCH] Update README.md (#94) Fixes in documentation --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 232e2d6..263675e 100644 --- a/README.md +++ b/README.md @@ -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