My current workaround is to add Hindley–Milner style signatures at the first documentation line, something like "myFunc :: fooType → barType → bazType", but VS Code can't make sense of it and prepends it with "myFunc: foo: any => bar: any => baz: any".
@email@example.com isn't it how it already works
@tdemin Yes it works fine on the first level, but I can't find a way to get it to work with something like:
const myFunc = foo => bar => doStuff(foo, bar);
Adding params info won't work past the first arrow, I couldn't work around that with returns info either. Past the first arrow VS Code is in the world of "any" whatever I type in the JSDoc block
@tdemin More precisely: depending on the workaround you can either have names or types, not both
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!