From 776fc8093272ad29c20dfbcf8b7dfedfbc9bb2aa Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 29 May 2024 21:36:40 +0200 Subject: improve ts types --- gjs/src/widgets.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gjs/src/widgets.ts') diff --git a/gjs/src/widgets.ts b/gjs/src/widgets.ts index ca71df1..e8adf65 100644 --- a/gjs/src/widgets.ts +++ b/gjs/src/widgets.ts @@ -1,8 +1,8 @@ /* 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" -export { astalify } +export { astalify, ConstructProps } // Label export const Label = astalify(Gtk.Label) @@ -15,7 +15,7 @@ export type IconProps = ConstructProps(Astal.Button) export type ButtonProps = ConstructProps) => void + onClicked: [] }> // Window -- cgit v1.2.3