From 776fc8093272ad29c20dfbcf8b7dfedfbc9bb2aa Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 29 May 2024 21:36:40 +0200 Subject: improve ts types --- node/src/widgets.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'node/src/widgets.ts') diff --git a/node/src/widgets.ts b/node/src/widgets.ts index 300cfab..2ce256a 100644 --- a/node/src/widgets.ts +++ b/node/src/widgets.ts @@ -1,10 +1,10 @@ /* eslint-disable max-len */ import { Astal, Gtk } from "./imports.js" -import astalify, { type ConstructProps, type Widget } from "./astalify.js" +import astalify, { type ConstructProps } from "./astalify.js" import type GtkT from "@girs/node-gtk-3.0/node-gtk-3.0" import type AstalT from "@girs/node-astal-0.1/node-astal-0.1" -export { astalify } +export { astalify, ConstructProps } // Label export const Label = astalify(Gtk.Label) @@ -17,7 +17,7 @@ export type IconProps = ConstructProps(Astal.Button) export type ButtonProps = ConstructProps) => void + onClicked: [] }> // Window -- cgit v1.2.3