I have a typescript interface and I want to restrict the function parameter object to have only properties of the App interface as keys I tried using Record
App
Record