Skip to content

Commit f3648f0

Browse files
committed
+ usage instructions
1 parent 9b7e99d commit f3648f0

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,23 @@ Workarounds without using numeric literals (e.g. define numbers by recursion) lo
1313

1414
Typescript >=2.8
1515

16+
## Getting started
17+
18+
Install package
19+
20+
```
21+
$ npm i fixed-size-array
22+
```
23+
24+
Use type definitions in your Typescript project
25+
26+
```javascript
27+
import { FixedSizeArray } from 'fixed-size-array';
28+
29+
let d: FixedSizeArray<2, string>;
30+
31+
```
32+
1633
## Bugs and issues
1734

1835
Apparently, the package works as expected for many practical cases.

0 commit comments

Comments
 (0)