Fix type errors.
This commit is contained in:
@@ -913,6 +913,7 @@ export interface ModelConfig {
|
||||
export interface ModelMeta {
|
||||
description?: string;
|
||||
capabilities?: object;
|
||||
profile_image_url?: string;
|
||||
}
|
||||
|
||||
export interface ModelParams {}
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user