@ types / node和VS代码:因为注释格式化,IntelliSense不起作用

我使用的Visual Studio代码和@ types /节点(7.0.8),但似乎有些function等有一个错误的格式化的代码注释,因此Visual Studio代码和Visual Studio 2017不会显示任何在IntelliSense中的quickinfos。

import * as fs from 'fs'; fs.unlink 

当我inputfs.unlink VS Code显示函数签名,但不是定义的注释

 ./node_modules/@types/node/index.d.ts 

在线2400

 /* * Asynchronous unlink - deletes the file specified in {path} * * @param path * @param callback No arguments other than a possible exception are given to the completion callback. */ export function unlink(path: string | Buffer, callback?: (err?: NodeJS.ErrnoException) => void): void; 

这里的罪魁祸首是错过了星号的第一行。 正确的符号是

 /** 

只要我像这样改变index.d.ts,我就可以使用IntelliSense。 一些function被正确地评论,而另一些则没有。

我在这里做错了什么? (这些函数是不会被使用,尽pipe被导出)是@types/节点中的错误,如果有的话,是否有方法教VS编码来parsing这些评论?

谢谢

我工作在TS和JS支持VSCode。 使用/*而不是/**看起来像节点d.tstypes定义中的错误。 据我所知,没有办法configurationTypeScript或VSCode作为文档注释来处理普通的旧/*注释。

我已经提交了一个修复的公关: https : //github.com/DefinitelyTyped/DefinitelyTyped/pull/15285