Files
YouduWiki/web/app/new-types.d.ts
2026-05-21 19:52:45 +08:00

23 lines
346 B
TypeScript

/// <reference types="@panda-wiki/themes/types" />
declare module '@cap.js/widget' {
interface CapOptions {
apiEndpoint: string;
}
class Cap {
constructor(options: CapOptions);
solve(): Promise<{ token: string }>;
}
export default Cap;
}
declare global {
interface Window {
_BASE_PATH_?: string;
}
}
export {};