mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-09 07:29:04 -07:00
Replaced any by inferred interface
This commit is contained in:
parent
65e6d5b3d9
commit
3b577fe73b
1 changed files with 13 additions and 1 deletions
|
|
@ -71,8 +71,20 @@ interface IFileNames {
|
|||
originalFileName: string,
|
||||
currentFileName: string
|
||||
}
|
||||
interface IParsedRequestResult {
|
||||
data: {
|
||||
movie: {
|
||||
movieFile: {
|
||||
movieId: number
|
||||
}
|
||||
}
|
||||
series: {
|
||||
id: number
|
||||
}
|
||||
}
|
||||
}
|
||||
interface IRefreshDelegates {
|
||||
getIdFromParseRequestResult: (parseRequestResult: any) => number,
|
||||
getIdFromParseRequestResult: (parseRequestResult: IParsedRequestResult) => number,
|
||||
buildRefreshResquestData: (id: number) => string
|
||||
}
|
||||
interface IRefreshType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue