angular make variable optional

Solutions on MaxInterview for angular make variable optional by the best coders in the world

showing results for - "angular make variable optional"
Andy
25 Jun 2018
1export interface User {
2    id: number;
3    name?: string; // interfaces allow fields to be optional
4}