type a = { a: 1, [index: string]: any , name:string, b?:boolean}
type b = Omit<a,'a'> //b is {[index: string]:any}
type b would be {[index: string]:any}
, but I expect it to be {[index: string]: any , name:string, b?:boolean}
why is this happening?