import { T_obj, T_required } from "../../../types/ax"
interface k {
    email?: string
}
interface Person<B=1> {
    name?: string;
    age?: number;
    contact?: B extends 1 ?string:number;
}
/* export type T_required2<T> = {
    [P in keyof T]-?: T[P] extends any ? T_required<T[P]> : T[P];
}
*/
const person:Person = {
    name: 'w',
    age: 1,
}
person.contact=''
