Skip to content

Commit 1d805dd

Browse files
Copilotd10c
andcommitted
Fix MethodRow ref types to match DataGridCell
Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>
1 parent 45b5828 commit 1d805dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/src/view/model-editor/MethodRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const MethodRow = (props: MethodRowProps) => {
103103
}
104104
};
105105

106-
const ModelableMethodRow = forwardRef<HTMLElement | undefined, MethodRowProps>(
106+
const ModelableMethodRow = forwardRef<HTMLDivElement, MethodRowProps>(
107107
(props: MethodRowProps, ref) => {
108108
const {
109109
method,
@@ -360,7 +360,7 @@ const ModelableMethodRow = forwardRef<HTMLElement | undefined, MethodRowProps>(
360360
ModelableMethodRow.displayName = "ModelableMethodRow";
361361

362362
const UnmodelableMethodRow = forwardRef<
363-
HTMLElement | undefined,
363+
HTMLDivElement,
364364
MethodRowProps
365365
>((props: MethodRowProps, ref) => {
366366
const { method, viewState, revealedMethodSignature } = props;

0 commit comments

Comments
 (0)