📜  typescript 为接口 prop 添加注释 [ - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:18.751000             🧑  作者: Mango

代码示例1
interface EditDialogField {
  /** Explain label here */
  label: string;
  /** Explain prop here */
  prop: string;
  required?: boolean;
  type: 'input';
  validators?: Validator[];
}