活字体インテリセンスが、このために正常に動作脂肪の矢印の機能と連携されていません。Visual Studioのインテリセンスは
class SampleClass {
/**
* Does stuff
*
* @param blah stuff needing done
*/
public doStuff(blah: string) {
}
}
var sample = new SampleClass();
// intellisense works correctly and shows parameter description:
sample.doStuff("hello");
は、しかし、脂肪の矢印を使用するように切り替えJSDocのインテリセンス(メソッドのシグネチャは、まだ表示されますが、壊れているようですjsdocの説明はありません)。
class SampleClass2 {
/**
* Does stuff
*
* @param blah stuff needing done
*/
public doStuff = (blah: string) => {
}
}
var sample2 = new SampleClass2();
// intellisense gives the method signature still but no longer picks up any of the jsdoc descriptions:
sample2.doStuff("hello");
私はVisual Studio 2012 Update 4を使用しています。 TypeScript 0.9.5。
これはバグですか、またはjsdocコメントに別の構文を使用する必要がありますか?
彼はコメントについて話してはい、動作するようには思えない、自動補完を知っています遊び場で試しました。 –
私のために働く。スクリーンショットが追加されました。 – Fenton
入力すると機能しません。 after sample2 –