UseObjectHook: { <T>(options): null | T & Object<T, never>; <T>(options): null | T; <T>(type,
primaryKey,
keyPaths?): null | T & Object<T, never>; <T>(type,
primaryKey,
keyPaths?): null | T; } Type declaration
- <T>(options): null | T & Object<T, never>
Parameters
options: ObjectHookOptions<T>
Returns null | T & Object<T, never>
- <T>(options): null | T
Parameters
options: ObjectHookClassBasedOptions<T>
Returns null | T
- <T>(type, primaryKey, keyPaths?): null | T & Object<T, never>
Parameters
type: string
primaryKey: T[keyof T]
Optional
keyPaths: string | string[]
Returns null | T & Object<T, never>
- <T>(type, primaryKey, keyPaths?): null | T
Parameters
type: RealmClassType<T>
primaryKey: T[keyof T]
Optional
keyPaths: string | string[]
Returns null | T