mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-15 10:15:54 -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,
|
originalFileName: string,
|
||||||
currentFileName: string
|
currentFileName: string
|
||||||
}
|
}
|
||||||
|
interface IParsedRequestResult {
|
||||||
|
data: {
|
||||||
|
movie: {
|
||||||
|
movieFile: {
|
||||||
|
movieId: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
series: {
|
||||||
|
id: number
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
interface IRefreshDelegates {
|
interface IRefreshDelegates {
|
||||||
getIdFromParseRequestResult: (parseRequestResult: any) => number,
|
getIdFromParseRequestResult: (parseRequestResult: IParsedRequestResult) => number,
|
||||||
buildRefreshResquestData: (id: number) => string
|
buildRefreshResquestData: (id: number) => string
|
||||||
}
|
}
|
||||||
interface IRefreshType {
|
interface IRefreshType {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue