Skip to content

Commit

Permalink
feat: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Jan 3, 2025
1 parent 7da12c8 commit b791283
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .changeset/odd-rocks-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@tonaljs/pitch-interval": minor
"@tonaljs/pitch-note": minor
"tonal": minor
"@tonaljs/note": minor
---

### Export `NoteType` and `IntervalType` types

Typescript types `NoteType` and `IntervalType` are now exported:

```ts
import { Interval, IntervalType, Note, NoteType } from "tonal";

const note: NoteType = Note.get("C4");
const interval: IntervalType = Interval.get("P4");
```

0 comments on commit b791283

Please sign in to comment.