mirror of
https://github.com/janishutz/musickitjs-v3-types.git
synced 2026-10-09 05:06:22 +02:00
feat: improved types, changes coming
This commit is contained in:
1 parent
abbd0b48c5
commit
95338f676e
6 files changed
+142
-3
No files matched your search
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
declare namespace MusicKit {
|
||||
interface MusicKitAPI {
|
||||
'music': (
|
||||
path: string,
|
||||
params: {
|
||||
[key: string]: string
|
||||
},
|
||||
opts: {
|
||||
'fetchOptions': RequestInit
|
||||
}
|
||||
) => Promise<{
|
||||
'data': unknown
|
||||
}>
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user