-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.d.ts
25 lines (22 loc) · 941 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { AnimeFinder } from "~/plugins/application-services/anime/application/anime-finder";
import { SaveAnime } from "~/plugins/application-services/anime/application/save-anime";
import { CreateHistoryEntry } from "~/plugins/application-services/history/application/create-history-entry";
import { CurrentHistory } from "~/plugins/application-services/history/application/current-history";
import { AnimeRepositorySource } from "~/plugins/application-services";
declare module '#app' {
interface NuxtApp {
$animeFinder(source: AnimeRepositorySource): AnimeFinder
$saveAnime(): SaveAnime
$historyEntryCreator(): CreateHistoryEntry
$currentHistory(): CurrentHistory
}
}
declare module '@vue/runtime-core' {
interface ComponentCustomProperties {
$animeFinder(source: AnimeRepositorySource): AnimeFinder
$saveAnime(): SaveAnime
$historyEntryCreator(): CreateHistoryEntry
$currentHistory(): CurrentHistory
}
}
export {}