I have a function which has a resultData parameter with the type of DataView. This looks like the following in the code completion tooltip.
...resultData: fn(buffer: +ArrayBuffer, byteOffset?: number, byteLength?: number)...
My preffered code completion would be:
...resultData: DataView...
Is that somehow managable?
After reaching out one of the Tern.js developers he answered the following:
"Not really. Tern doesn't use type names when showing function types, because those would usually be unhelpful."