Tonejs / Tone.js

A Web Audio framework for making interactive music in the browser.
https://tonejs.github.io
MIT License
13.45k stars 977 forks source link

Less verbose unit types #1181

Closed ghost closed 5 months ago

ghost commented 1 year ago
  1. Please make all pull requests on the dev branch.
  2. Don't commit build files
  3. Try to get all tests to pass.

Use template literal types Use recursive conditional types for type MidiNote

Makes it less verbose and doesn't take half the screen.

tambien commented 5 months ago

This is awesome! super late reply, but great improvement