mirror of
https://github.com/janishutz/musickitjs-v3-types.git
synced 2026-10-08 20:56:23 +02:00
feat: working types
This commit is contained in:
1 parent
95338f676e
commit
bba6fd185e
6 files changed
+178
-170
No files matched your search
Vendored
+12
-14
@@ -1,15 +1,13 @@
|
||||
declare namespace MusicKit {
|
||||
interface MusicKitAPI {
|
||||
'music': (
|
||||
path: string,
|
||||
params: {
|
||||
[key: string]: string
|
||||
},
|
||||
opts: {
|
||||
'fetchOptions': RequestInit
|
||||
}
|
||||
) => Promise<{
|
||||
'data': unknown
|
||||
}>
|
||||
}
|
||||
export interface MusicKitAPI {
|
||||
'music': (
|
||||
path: string,
|
||||
params: {
|
||||
[key: string]: string
|
||||
},
|
||||
opts: {
|
||||
'fetchOptions': RequestInit
|
||||
}
|
||||
) => Promise<{
|
||||
'data': unknown
|
||||
}>
|
||||
}
|
||||
Reference in new issue
Block a user