aboutsummaryrefslogtreecommitdiff
path: root/src/shims.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/shims.d.ts')
-rw-r--r--src/shims.d.ts28
1 files changed, 21 insertions, 7 deletions
diff --git a/src/shims.d.ts b/src/shims.d.ts
index f3db1b7..147c01e 100644
--- a/src/shims.d.ts
+++ b/src/shims.d.ts
@@ -1,21 +1,35 @@
declare module '*.vue' {
- import type { ComponentOptions, ComponentOptions } from '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 '~icons/*' {
- import { FunctionalComponent, SVGAttributes } from 'vue';
- const component: FunctionalComponent<SVGAttributes>;
- export default component;
-}
-
declare module 'iarna-toml-esm' {
export const parse: (toml: string) => any;
export const stringify: (obj: any) => string;
+}
+
+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;
} \ No newline at end of file