-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript, prettier, linting #16
base: master
Are you sure you want to change the base?
Conversation
Merge master
Update dependencies and code style * Format with prettier * Order methods and properties based on accessor type * Add explicit return types to functions * Remove deprecated seekToEnd() function
* Remove `tracks` from Queue constructor * Expose Queue.tracks as public * Transpile as commonjs module
* Use `globalThis` instead of `window` to access `AudioContext`
* Allow currentTrack to be undefined
* Add option to specify `mode` for `fetch()` operations
Regarding the commonjs vs es module output. My app is based on the latest version of next.js and their support for dynamic import is not quite ready... I get the following error:
Just wanted to provide a bit more context to @probablykasper regarding #15 (comment) |
I'm going to try and get this merged soon, just a heads up. |
I'll have to figure out how to get my changes from #17 into this branch. Probably just go line-by-line and merge manually. |
Please let me know if you want me to make any changes! As I mentioned in #15, I should have more time than normal to devote to this over the next week or so. Hoping to iron out some issues I've seen with my own project, so there will likely be additional changes incoming.