junebug12851/pokered-save-editor

View on GitHub
src/app/data/gameData.service.ts

Summary

Maintainability
A
0 mins
Test Coverage

Showing 1 of 1 total issue

Declaration of instance method not allowed after declaration of instance field. Instead, this should come at the beginning of the class/interface.
Open

file(name: string) {
if (this.cache[name] === undefined) {
this.cache[name] = new GameData(name);
}
 
 
Severity: Minor
Found in src/app/data/gameData.service.ts by tslint
Category
Status