fix: 🏷️ fix declaration of global
This commit is contained in:
parent
2110d86129
commit
0d02a9aad0
4
src/global.d.ts
vendored
4
src/global.d.ts
vendored
@ -30,4 +30,6 @@ export interface CreateArchiveResult {
|
|||||||
error?: string;
|
error?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare function createArchive(payload: CreateArchiveInput): Promise<string>;
|
declare global {
|
||||||
|
function createArchive(payload: CreateArchiveInput): Promise<string>;
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { IconCheck, IconExclamationMark } from "@tabler/icons-react";
|
import { IconCheck, IconExclamationMark } from "@tabler/icons-react";
|
||||||
|
|
||||||
import { CreateArchiveInput } from "./types";
|
import { CreateArchiveInput } from "./global.d";
|
||||||
import { notifications } from "@mantine/notifications";
|
import { notifications } from "@mantine/notifications";
|
||||||
import { ChatCompletionMessageParam } from "@mlc-ai/web-llm";
|
import { ChatCompletionMessageParam } from "@mlc-ai/web-llm";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user