mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 06:47:56 +00:00
tweak(api): make sure data for the constructor is typed instead of any
This commit is contained in:
parent
e897a33c41
commit
3e435c252c
3 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ export default class Group {
|
|||
created?: string;
|
||||
members?: string[];
|
||||
|
||||
constructor(data: any) {
|
||||
constructor(data: Group) {
|
||||
this.id = data.id;
|
||||
this.uuid = data.uuid;
|
||||
this.name = data.name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue