UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

9 lines (8 loc) 235 B
import type { Widget } from '../widgets/Widget.js'; /** * A function that returns a new instance of a {@link Widget} given a list of * arguments. * * @category XML */ export type XMLWidgetFactory = (...args: unknown[]) => Widget;