diff --git a/src/rough-notation.ts b/src/rough-notation.ts index 9216d37..f4d0268 100644 --- a/src/rough-notation.ts +++ b/src/rough-notation.ts @@ -2,10 +2,10 @@ import { Rect, RoughAnnotationConfig, RoughAnnotation, SVG_NS, RoughAnnotationGr import { renderAnnotation } from './render.js'; import { ensureKeyframes } from './keyframes.js'; -type AnootationState = 'unattached' | 'not-showing' | 'showing'; +type AnnotationState = 'unattached' | 'not-showing' | 'showing'; class RoughAnnotationImpl implements RoughAnnotation { - private _state: AnootationState = 'unattached'; + private _state: AnnotationState = 'unattached'; private _config: RoughAnnotationConfig; private _e: HTMLElement; private _svg?: SVGSVGElement; @@ -207,4 +207,4 @@ export function annotationGroup(annotations: RoughAnnotation[]): RoughAnnotation } } }; -} \ No newline at end of file +}