@gala-chain/api ∙ API
API > deserialize
Function: deserialize()
deserialize\<
T
,BaseT
>(constructor
,object
):T
Type parameters
▪ T
▪ BaseT = unknown
Parameters
▪ constructor: ClassConstructor
\<Inferred
\<T
, BaseT
>>
▪ object: string
| Record
\<string
, unknown
> | Record
\<string
, unknown
>[]