code refactor
This commit is contained in:
+1
-1
@@ -70,7 +70,7 @@ export class AccountCategory implements TypeAndName {
|
||||
return AccountCategory.allInstances;
|
||||
}
|
||||
|
||||
public static valueOf(type: number): AccountCategory {
|
||||
public static valueOf(type: number): AccountCategory | undefined {
|
||||
return AccountCategory.allInstancesByType[type];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user