Skip to content

Commit

Permalink
chore(types): fix element type
Browse files Browse the repository at this point in the history
  • Loading branch information
pubuzhixing8 committed Jun 1, 2021
1 parent c370f8f commit d030dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/src/view/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class BaseElementComponent<T extends Element = Element, K extends Angular

childrenContext: SlateChildrenContext;

get element(): Element {
get element(): T {
return this._context && this._context.element;
}

Expand Down

0 comments on commit d030dd4

Please sign in to comment.