From b67412299f0af5d8e0dc65f07c958b32249198fc Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Sun, 21 May 2023 15:13:39 +0100 Subject: [PATCH] layout.d.ts: render() takes a RenderedHierarchy (x/y/w/h) --- typescript/types/layout.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/types/layout.d.ts b/typescript/types/layout.d.ts index 8c5706d0b..6694575d9 100644 --- a/typescript/types/layout.d.ts +++ b/typescript/types/layout.d.ts @@ -120,6 +120,6 @@ declare module Layout_ { src: Image | (() => Image), } | { type: "custom", - render: (h: Hierarchy) => void, + render: (h: RenderedHierarchy) => void, }; }