Function fromSerializableObject
Function
Type Signature
fromSerializableObject<
K extends AnnotationJSONUnion
| AnnotationsBackendJSONUnion,
>(
annotation: K,
): AnnotationJSONToAnnotation<K>
K extends AnnotationJSONUnion
| AnnotationsBackendJSONUnion,
>(
annotation: K,
): AnnotationJSONToAnnotation<K>
Type Declaration
Type Parameters
Kextends AnnotationJSONUnion | AnnotationsBackendJSONUnionParameters
annotationKSerialized Annotation
Returns
AnnotationJSONToAnnotation<K>
Annotation deserializer. Converts an annotation object to a AnnotationsUnion.