Home > @lynx-js/react > defineMainThreadObjectType
defineMainThreadObjectType() function
Define a main-thread object type for use by a library-provided hook.
Signature:
Parameters
Returns:
MainThreadObjectType<I, O>
An immutable object type definition.

