【发布时间】:2019-01-09 12:03:56
【问题描述】:
假设我有以下内容:
interface Validator {
validate: (value: string) => boolean;
errorMessage: string;
}
interface EditDialogField {
label: string;
prop: string;
required?: boolean;
type: 'input';
validators?: Validator[];
}
这很有用,因为 IntelliSense 在我使用这些接口时会弹出建议,但我希望能够添加也显示在 IntelliSense 中的 cmets(特别是 VS Code)。这可能吗?
【问题讨论】:
标签: typescript visual-studio-code intellisense