1
0
Fork 0
BangleApps/typescript/types/other.d.ts

10 lines
236 B
TypeScript

declare const g: typeof Graphics;
type WidgetArea = "tl" | "tr" | "bl" | "br";
type Widget = {
area: WidgetArea;
width: number;
draw: (this: { x: number; y: number }) => void;
};
declare const WIDGETS: { [key: string]: Widget };