visual studio code - Typescript: Types are removed for a generic interface/function -


i seem idiot, in vscode using typescript.

when define interface, , attempt use interface in function intellisense seems removed. since it's little hard explain, added picture describe it.
in first picture, can see able intellisense send function.
in second (when attempt use it), can see both intellisense , type information has been removed. how resolve this?

enter image description here

i believe running known typescript issue: https://github.com/microsoft/typescript/issues/14344

this bug of typescript 2.5. type checking should work properly, don't provide correct suggestions in case


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -