refactor(frontend): カスタムディレクティブの型付け など

(cherry picked from commit 49c9215b61a70e020c5b28a68756bfdc0df3cac7)
This commit is contained in:
taiyme 2024-11-01 21:07:35 +09:00 committed by kakkokari-gtyih
parent a61a2c5f87
commit 1c34a03b7a
19 changed files with 262 additions and 138 deletions

View file

@ -7,8 +7,8 @@ import { describe, test, assert, afterEach } from 'vitest';
import { render, cleanup, type RenderResult } from '@testing-library/vue';
import './init';
import type { summaly } from '@misskey-dev/summaly';
import { components } from '@/components/index.js';
import { directives } from '@/directives/index.js';
import { components } from '@/components/index.js';
import MkUrlPreview from '@/components/MkUrlPreview.vue';
type SummalyResult = Awaited<ReturnType<typeof summaly>>;