fix: 🏷️ fix declaration of global
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
RaviAnand Mohabir 2025-04-25 16:17:41 +02:00
parent 2110d86129
commit 0d02a9aad0
2 changed files with 4 additions and 2 deletions

4
src/global.d.ts vendored
View File

@ -30,4 +30,6 @@ export interface CreateArchiveResult {
error?: string;
}
declare function createArchive(payload: CreateArchiveInput): Promise<string>;
declare global {
function createArchive(payload: CreateArchiveInput): Promise<string>;
}

View File

@ -1,6 +1,6 @@
import { IconCheck, IconExclamationMark } from "@tabler/icons-react";
import { CreateArchiveInput } from "./types";
import { CreateArchiveInput } from "./global.d";
import { notifications } from "@mantine/notifications";
import { ChatCompletionMessageParam } from "@mlc-ai/web-llm";