📜  角度模型可选参数 null - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:28.955000             🧑  作者: Mango

代码示例1
export class Choice {
  name: string;
  price: number;
  quantity?: number | null;
  fractional_qty?: number | null;
  max_fractional_qty?: number | null;
}