Improve Model class' rehydratable implementation
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
export type JSONState = { [key: string]: string | boolean | number | JSONState | Array<string | boolean | number | JSONState> }
|
||||
export type JSONState = { [key: string]: string | boolean | number | undefined | JSONState | Array<string | boolean | number | undefined | JSONState> }
|
||||
|
||||
export function isJSONState(what: any): what is JSONState {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user