Javascript Typescript Type Record Is Not Assignable To Type

Javascript Typescript Type Record Is Not Assignable To Type