For the last few releases these haven't been working due to some Type errors:
[core] error: ⨯ Unable to compile TypeScript:
plugins/sdvx@asphyxia/index.ts:99:43 - error TS2345: Argument of type '(data: {}, send: any) => Promise<void>' is not assignable to parameter of type '(data: any) => void | Promise<void>'.
99 R.WebUIEvent("copyResourcesFromGame", copyResourcesFromGame);
~~~~~~~~~~~~~~~~~~~~~
plugins/sdvx@asphyxia/index.ts:100:33 - error TS2345: Argument of type '(data: { set: number; refid: string; items: [];}, send: any) => Promise<void>' is not assignable to parameter of type '(data: any) => void | Promise<void>'.
100 R.WebUIEvent("preGeneRoll", preGeneRoll);
~~~~~~~~~~~
TSError: ⨯ Unable to compile TypeScript:
plugins/sdvx@asphyxia/index.ts:99:43 - error TS2345: Argument of type '(data: {}, send: any) => Promise<void>' is not assignable to parameter of type '(data: any) => void | Promise<void>'.
99 R.WebUIEvent("copyResourcesFromGame", copyResourcesFromGame);
~~~~~~~~~~~~~~~~~~~~~
plugins/sdvx@asphyxia/index.ts:100:33 - error TS2345: Argument of type '(data: { set: number; refid: string; items: [];}, send: any) => Promise<void>' is not assignable to parameter of type '(data: any) => void | Promise<void>'.
100 R.WebUIEvent("preGeneRoll", preGeneRoll);
~~~~~~~~~~~
Also, there seems to be no type defined for WebUISend in handlers/webui.ts which also throws errors in my IDE.
I managed to fix these on my own but just thought i would let you know.