Skip to content

Commit

Permalink
fix: fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector committed Feb 6, 2021
1 parent 649183d commit e419bd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/x6-react-shape/src/hook.ts
Expand Up @@ -10,7 +10,7 @@ declare module '@antv/x6/lib/graph/hook' {
}

interface Hook {
getReactComponent(this: Hook, node: ReactShape): Definition
getReactComponent(node: ReactShape): Definition
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/x6-vue-shape/src/hook.ts
Expand Up @@ -10,7 +10,7 @@ declare module '@antv/x6/lib/graph/hook' {
}

interface Hook {
getVueComponent(this: Hook, node: VueShape): Definition
getVueComponent(node: VueShape): Definition
}
}

Expand Down

0 comments on commit e419bd4

Please sign in to comment.