Classes
Classes should be small
class Dashboard {
disable(): void { /* ... */ }
enable(): void { /* ... */ }
getVersion(): string { /* ... */ }
getLanguage(): string { /* ... */ }
setLanguage(language: string): void { /* ... */ }
// ...
}
class Dashboard {
disable(): void { /* ... */ }
enable(): void { /* ... */ }
getVersion(): string { /* ... */ }
}