Currently, Godot will not recognize custom resource classes written in JS/TS.
Activity
mageowl commentedon Jun 20, 2022
does anyone have a solution/workaround besides using gd script and a ts interface?
nmerget commentedon Oct 10, 2023
I hope I understand the issue. I used this tutorial to reproduce what I think you want to do.
The main point is that you need to use
@propertiesfor@exportlike this.I had to use
TYPE_OBJECTto drag&drop the resource in the editor like this