We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
static
1 parent abce9e2 commit f341cdaCopy full SHA for f341cda
.changeset/small-emus-notice.md
@@ -0,0 +1,7 @@
1
+---
2
+"@godot-js/editor": patch
3
4
+
5
+**Fix/Types:** Ensure GDScript singleton class accessors/modifiers are `static`.
6
7
+Fixes https://github.com/godotjs/GodotJS/issues/99
scripts/jsb.editor/src/jsb.editor.codegen.ts
@@ -3438,7 +3438,7 @@ export class TSDCodeGen {
3438
}
3439
3440
for (let property_info of cls.properties) {
3441
- class_cg.property_(property_info);
+ class_cg.property_(property_info, singleton_mode);
3442
if (property_info.internal_name !== property_info.name) {
3443
godot_name_overrides[property_info.internal_name] = property_info.name;
3444
0 commit comments