title: Ignore certain properties in an interface while creating an object in typescript?
body: <p>I have interface defined with some properties. I want to create an object from this interface, however while creating I don't want to fully initialize all the properties mentioned in the interface. I just want to initialize few. How can I achieve that? Thank you.</p>
  
  <pre><code>export interface Campaign {
    id: string;
    name: string;
    createdOn: string;
    lastUpdated: string;
    createdBy: User;
    type: CampaignType;
    status: CampaignStatus;
    startDate: string;
    endDate: string;
    budget: number;
    description: string;
    account: Account;
  }
  </code></pre>
  
  <p>i want to create an array of campaign objects.
  this is what i am trying to do .</p>
  
  <pre><code>let campaigns: Campaign[] = [
      {  id:"1",
         name: "test campaign"
        }
  
     ];
  </code></pre>
  
  <p>however i get the following error .</p>
  
  <p>Type '{ id: string; name: string; }' is missing the following properties from type 'Campaign': createdOn, lastUpdated, createdBy, type, and 6 more.ts(2740)</p>