doc: Light doc comment for isPropConfigComposite

This commit is contained in:
Cole Lawrence 2022-06-24 08:42:28 -04:00
parent df05be3c1e
commit 977ddb6574

View file

@ -8,6 +8,7 @@ import type {
import type {PathToProp} from '@theatre/shared/utils/addresses' import type {PathToProp} from '@theatre/shared/utils/addresses'
import type {$IntentionalAny} from '@theatre/shared/utils/types' import type {$IntentionalAny} from '@theatre/shared/utils/types'
/** Either compound or enum properties can be considered "composite" */
export function isPropConfigComposite( export function isPropConfigComposite(
c: PropTypeConfig, c: PropTypeConfig,
): c is PropTypeConfig_Compound<{}> | PropTypeConfig_Enum { ): c is PropTypeConfig_Compound<{}> | PropTypeConfig_Enum {