mirror of
https://github.com/YouHaveTrouble/DiscipleOfLand.git
synced 2026-05-12 14:36:55 +00:00
install and configure eslint, bow before eslint
This commit is contained in:
@@ -4,8 +4,10 @@ export default class Zone {
|
||||
en: string,
|
||||
}
|
||||
|
||||
constructor(data: any) {
|
||||
this.name = data.name;
|
||||
constructor(data: {name: {en: string}}) {
|
||||
this.name = {
|
||||
en: data.name.en
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user