I am trying to update partial property of one of interface in TypeScript as below
interface details{
name: string,
phonenumber: number,
IsActive: boolean
}
let pDt: Partial<details> = {IsActive: false};
and when i am trying to pass it one of the method which has details as parameter, it is giving below issue "Argument of type Partial is not assignable to parameter of type 'detail'".
What's wrong here and how to correct?