diff --git a/src/context.ts b/src/context.ts index 3e37806..4a50747 100644 --- a/src/context.ts +++ b/src/context.ts @@ -77,7 +77,7 @@ export interface InternalContext { workers: Worker[] /** - * The set of `font-family` values for all cloend elements + * The set of `font-family` values for all cloned elements */ fontFamilies: Set diff --git a/src/options.ts b/src/options.ts index aa3cdda..6e99857 100644 --- a/src/options.ts +++ b/src/options.ts @@ -189,12 +189,12 @@ export interface Options { /** * Triggered after a node is cloned */ - onCloneNode?: ((cloend: Node) => void) | null + onCloneNode?: ((cloned: Node) => void) | null /** * Triggered after a node is embed */ - onEmbedNode?: ((cloend: Node) => void) | null + onEmbedNode?: ((cloned: Node) => void) | null /** * Triggered after a ForeignObjectSvg is created