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?
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
Post a Comment