Merge pull request #4746 from 5E-324/fix-type-errors

chore: Fix type errors.
This commit is contained in:
Timothy Jaeryang Baek
2024-08-20 13:37:08 +02:00
committed by GitHub
7 changed files with 28 additions and 7 deletions
+1
View File
@@ -950,6 +950,7 @@ export interface ModelConfig {
export interface ModelMeta {
description?: string;
capabilities?: object;
profile_image_url?: string;
}
export interface ModelParams {}
+1 -1
View File
@@ -396,7 +396,7 @@ export const deleteModel = async (token: string, tagName: string, urlIdx: string
return res;
};
export const pullModel = async (token: string, tagName: string, urlIdx: string | null = null) => {
export const pullModel = async (token: string, tagName: string, urlIdx: number | null = null) => {
let error = null;
const controller = new AbortController();