ProbeJS icon indicating copy to clipboard operation
ProbeJS copied to clipboard

All ".d.ts" files have syntax errors indicated by VSCode

Open Cyclomactic opened this issue 5 months ago • 0 comments

VSCode indicates there are errors in my .d.ts files. I have a clean 1.21.1 MC install with only KubeJS, ProbeJS and Rhino, all from NeoForge. I ran `/probejs dump'.

According to the https://www.curseforge.com/minecraft/mc-mods/probejs README:

  • I should have many JSON files starting with "probe" in the .vscode folder. There is only one file with a bunch of entries.
Image
  • I should also have "...a "probe" folder under the KubeJS folder, and many files ending with ".d.ts" are in the folder". There is actually a .probe folder and it is not in the KubeJS folder, but it does have the .d.ts files in it. Those files all have errors. The referenced packages are indeed there, but VSCode doesn't want to point to them.
Image

Cyclomactic avatar Jul 20 '25 19:07 Cyclomactic