install and configure eslint, bow before eslint

This commit is contained in:
2023-10-12 17:20:28 +02:00
parent b6bf355750
commit eb78ce7b6f
13 changed files with 1739 additions and 155 deletions
+4 -2
View File
@@ -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
};
}
}