init push
This commit is contained in:
22
web/app/new-types.d.ts
vendored
Normal file
22
web/app/new-types.d.ts
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/// <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 {};
|
||||
Reference in New Issue
Block a user