update bindings

This commit is contained in:
PwLDev 2026-05-07 09:40:35 -07:00
commit 382b9d65d9
28 changed files with 268 additions and 46 deletions

View file

@ -218,7 +218,7 @@ function scanProperties(root) {
widgetOut.write(
"import { BaseWidget } from \"./milsko\"\n" +
"import { Pixmap } from \"./types\"\n\n" +
"import type { Pixmap } from \"./types\"\n\n" +
"export class Widget extends BaseWidget {\n"
);
@ -287,13 +287,13 @@ function scanWidgets(root) {
if (structImports.length) {
widgetFile.write(
"import { " + structImports.join(", ") +
"import type { " + structImports.join(", ") +
" } from \"../structs\"\n"
);
}
widgetFile.write(
"import { " + typeImports.join(", ") +
"import type { " + typeImports.join(", ") +
" } from \"../types\"\n"
);