Skip to content

Commit

Permalink
Add note that examples are written in ESM (Javascript), not Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville authored Feb 4, 2022
1 parent e5ab39b commit 888ebc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ File {
```

## Usage
_(all examples are written in ESM - for Typescript some type casting is probably required, as `get` returns either Group or Dataset)_
### Reading
```js
let f = new hdf5.File("sans59510.nxs.ngv", "r");
Expand Down

0 comments on commit 888ebc8

Please sign in to comment.