Skip to content

Function: createAnnotations()

ts
function createAnnotations(props?): Annotations;

Defined in: packages/core/src/domain/Annotations.ts:43

Create Annotations from partial properties.

Parameters

ParameterTypeDescription
propsAnnotationsAnnotation properties (all optional)

Returns

Annotations

An Annotations instance

Example

typescript
const ann = createAnnotations({ priority: 0.5 });