update bindings
This commit is contained in:
parent
9b975004a8
commit
382b9d65d9
28 changed files with 268 additions and 46 deletions
|
|
@ -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"
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue