so @JsName: I'm looking at a class that is availab...
# javascript
b
so @JsName: I'm looking at a class that is available at CONFIG.PF2E.Actor.documentClasses.army but the class itself is named ArmyPF2e; I've got instanceof working using
Copy code
@JsName("CONFIG.PF2E.Actor.documentClasses.army")
@Suppress("NAME_CONTAINS_ILLEGAL_CHARS")
but is there a better way with maybe @JsFile? My impression so far has been that for that to work, it would have to be named CONFIG.PF2E.Actor.documentClasses.ArmyPF2e