mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
feat(plex-scan): plex scanner improvements (#2105)
This commit is contained in:
9
server/types/plex-api.d.ts
vendored
9
server/types/plex-api.d.ts
vendored
@@ -21,6 +21,13 @@ declare module 'plex-api' {
|
||||
requestOptions?: Record<string, string | number>;
|
||||
});
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
query: <T extends Record<string, any>>(endpoint: string) => Promise<T>;
|
||||
query: <T extends Record<string, any>>(
|
||||
endpoint:
|
||||
| string
|
||||
| {
|
||||
uri: string;
|
||||
extraHeaders?: Record<string, string | number>;
|
||||
}
|
||||
) => Promise<T>;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user