chore: fix dts jsdoc test
#2572Noticed that this test doesn't really do what it says it should do.
But the output is a bit concerning, I'm not sure why TS creates it that way. We might need to tweak our dts output generation, not sure yet how such that it will output the right thing.
Keeping this open until we solve it; as a reminder.