Skip to content

Commit 6eddb17

Browse files
committed
layout: render() is called on the layout object
1 parent b53f277 commit 6eddb17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/types/layout.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,6 @@ declare module Layout {
153153
r?: Rotation,
154154
} | {
155155
type: "custom",
156-
render: (h: RenderedHierarchy) => void,
156+
render: (this: RenderedHierarchy, h: RenderedHierarchy) => void,
157157
};
158158
}

0 commit comments

Comments
 (0)