Please check the following code:
Typing `f` show use the following intellisense for the above functions:
`f1` function looks ok, there is no type information, parameter names are displayed
`f2` function has all the type info someone might need
`f3` function uses `@type` + clojure function syntax, here only the return type is displayed, the parameter types are missing
`f4` function uses `@type` + typescript function syntax, types are completely missing
`f5`function uses different signature for the func via `@param` but this is ignored in intellisense (this could be ok)
`f6` function uses different signature for the func via `@type` and this is ignored in intellisense too unfortunately
Is there a way to configure WebStorm to rely on `@type` annotations instead of the actual function signature? Or is there an other way to override the actual function signature with other JSDoc feature?
The reason I am asking this because we would like to create a nice intellisense experience in our workflow where mostly WebStorm and Visual Studio Code are used. Visual Studio Code handles `@type` very well, it allows us to define/redefine the actual function signature.
Would be nice to have the same experience in WebStorm as well somehow. If it is possible to configure this please let me know.