mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-28 08:14:59 +03:00
58 lines
1.2 KiB
TypeScript
58 lines
1.2 KiB
TypeScript
declare module '*.vue' {
|
|
import type { ComponentOptions } from 'vue';
|
|
const Component: ComponentOptions;
|
|
export default Component;
|
|
}
|
|
|
|
declare module '*.md' {
|
|
import type { ComponentOptions } from 'vue';
|
|
const Component: ComponentOptions;
|
|
export default Component;
|
|
}
|
|
|
|
declare module 'emojilib' {
|
|
const lib: Record<string, string[]>;
|
|
export default lib;
|
|
}
|
|
|
|
declare module 'unicode-emoji-json' {
|
|
const emoji: Record<string, {
|
|
name: string;
|
|
slug: string;
|
|
group: string;
|
|
emoji_version: string;
|
|
unicode_version: string;
|
|
skin_tone_support: boolean;
|
|
skin_tone_support_unicode_version: string;
|
|
}>;
|
|
|
|
export default emoji;
|
|
}
|
|
|
|
declare module 'pdf-signature-reader' {
|
|
const verifySignature: (pdf: ArrayBuffer) => ({signatures: SignatureInfo[]});
|
|
|
|
export default verifySignature;
|
|
}
|
|
|
|
declare module 'vite-plugin-splash-screen/runtime' {
|
|
export function hideSplashScreen();
|
|
}
|
|
|
|
interface BigInt {
|
|
toJSON: () => string;
|
|
}
|
|
|
|
interface JSON {
|
|
parseBigInt: (jsonStr: string, options?: { minDigits?: number; fallbackToString?: boolean; }) => any;
|
|
rawJSON(value: string): any;
|
|
}
|
|
|
|
interface Navigator {
|
|
gpu?: any;
|
|
}
|
|
|
|
interface FontFaceSet {
|
|
add(fontFace: FontFace)
|
|
}
|