mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
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