mirror of
https://github.com/janishutz/musickitjs-v3-types.git
synced 2026-10-08 20:56:23 +02:00
fix: optional third arg for event listener
This commit is contained in:
1 parent
45644879b4
commit
6962b7a2f8
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -167,7 +167,7 @@ export interface MusicKitInstance {
|
||||
* @param callback - a callable function, whose arguments depend on the event listened to
|
||||
* @param options - Any further options (currently only 'once', which, if set to true, removes the listener after it was triggered once)
|
||||
*/
|
||||
'addEventListener': ( name: string, callback: CallableFunction, options: {
|
||||
'addEventListener': ( name: string, callback: CallableFunction, options?: {
|
||||
'once': boolean
|
||||
} ) => void;
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "musickitjs-v3-types",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"description": "Types for musickit js version 3.0",
|
||||
"keywords": [
|
||||
"musickitjs",
|
||||
|
||||
Reference in new issue
Block a user