1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-12 08:14:08 +02:00

refactor8frontend9: anyを除去 (#16778)

This commit is contained in:
かっこかり
2025-11-10 15:33:54 +09:00
committed by GitHub
parent 73bcd330f7
commit fd2fe34270
16 changed files with 42 additions and 110 deletions

View File

@@ -4,13 +4,14 @@
*/
import type { InjectionKey, Ref } from 'vue';
import type { PageMetadata } from '@/page.js';
import type { Router } from '@/router.js';
export const DI = {
routerCurrentDepth: Symbol() as InjectionKey<number>,
router: Symbol() as InjectionKey<Router>,
mock: Symbol() as InjectionKey<boolean>,
pageMetadata: Symbol() as InjectionKey<Ref<Record<string, any> | null>>,
pageMetadata: Symbol() as InjectionKey<Ref<PageMetadata | null>>,
viewId: Symbol() as InjectionKey<string>,
currentStickyTop: Symbol() as InjectionKey<Ref<number>>,
currentStickyBottom: Symbol() as InjectionKey<Ref<number>>,