Skip to content

Commit ad83d72

Browse files
committed
docs: update usage instructions
1 parent 2186ae8 commit ad83d72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ $ npm install --save interval-arithmetic
101101
```
102102

103103
```js
104-
import IOps, { Interval } from 'interval-arithmetic'
105-
IOps.add(Interval(1), Interval(2))
104+
import Interval from 'interval-arithmetic'
105+
Interval.add(Interval(1), Interval(2))
106106
```
107107

108108
## API
@@ -130,7 +130,7 @@ npm run deploy
130130
```
131131
132132
133-
2015-2020 © Mauricio Poppe
133+
2015-2022 © Mauricio Poppe
134134
135135
[npm-image]: https://img.shields.io/npm/v/interval-arithmetic.svg?style=flat
136136
[npm-url]: https://npmjs.org/package/interval-arithmetic

0 commit comments

Comments
 (0)