Here\'s what I have as an interface:
interface Person{ name: string age: number hobbies: string[] } const processors : {[functioname: keyof Person}