mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Refactor: Better type definition
This commit is contained in:
parent
3cdadbec0d
commit
2b6bc12540
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ type Log<T extends Obj> = {
|
|||
/**
|
||||
* 様々なチャートの管理を司るクラス
|
||||
*/
|
||||
export default abstract class Chart<T> {
|
||||
export default abstract class Chart<T extends Obj> {
|
||||
protected collection: ICollection<Log<T>>;
|
||||
protected abstract async getTemplate(init: boolean, latest?: T, group?: any): Promise<T>;
|
||||
private name: string;
|
||||
|
|
Loading…
Add table
Reference in a new issue