diff options
Diffstat (limited to 'viewer/src/@types/tag')
-rw-r--r-- | viewer/src/@types/tag/index.d.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/viewer/src/@types/tag/index.d.ts b/viewer/src/@types/tag/index.d.ts new file mode 100644 index 0000000..6a027d4 --- /dev/null +++ b/viewer/src/@types/tag/index.d.ts | |||
@@ -0,0 +1,8 @@ | |||
1 | declare namespace Tag { | ||
2 | interface Node { | ||
3 | tag: string; | ||
4 | items: Gallery.Item[]; | ||
5 | children: Index; | ||
6 | } | ||
7 | type Index = { [index: string]: Node }; | ||
8 | } \ No newline at end of file | ||