feat: use map instead of interface
This commit is contained in:
@@ -7,6 +7,4 @@ export interface CachedPage extends Page {
|
||||
isManhwa: boolean;
|
||||
}
|
||||
|
||||
export interface CachedPages {
|
||||
[key: number]: CachedPage;
|
||||
}
|
||||
export type CachedPages = Map<number, CachedPage>;
|
||||
|
||||
Reference in New Issue
Block a user