What is this format in javascript or typescript?I couldn't find any info.
export type XXX<> = | true (
= |
)$ReadOnly
(meanings)<{
|
...|
}>
export type AttributeType<T, V> = | true | $ReadOnly<{| diff?: (arg1: T, arg2: T) => boolean, process?: (arg1: V) => T, |}>;