diff --git a/src/Element.ts b/src/Element.ts index 855e722f3..6dc46463c 100644 --- a/src/Element.ts +++ b/src/Element.ts @@ -676,7 +676,7 @@ class Element { return '#fff'; } - protected getInsideTextStroke(textFill: string): string { + protected getInsideTextStroke(textFill: string): string | undefined { return '#000'; } @@ -1955,4 +1955,4 @@ function animateToShallow( } -export default Element; \ No newline at end of file +export default Element;