Skip to content

Type Alias: AnnotationGetter() ​

ts
type AnnotationGetter = (id) => Annotation | undefined;

Function type to get an Annotation by its id

Parameters ​

id ​

Id

Returns ​

Annotation | undefined