Moved nice tools from fgo-ta over
This commit is contained in:
parent
e406bd8764
commit
7ed78bceff
10 changed files with 72 additions and 41 deletions
src/types
10
src/types/generic.ts
Normal file
10
src/types/generic.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
export interface IconsLookup {
|
||||
[key: string]: ImageMetadata
|
||||
}
|
||||
|
||||
interface GlobGeneric<T> {
|
||||
default: T
|
||||
}
|
||||
|
||||
export type GlobAny = GlobGeneric<any>
|
||||
export type GlobImage = GlobGeneric<ImageMetadata>
|
Loading…
Add table
Add a link
Reference in a new issue