Sorry for the confusing title.
I\'m trying to use a lookup type similar to the setProperty example in https://www.typescriptlang.org/docs/handbook/release-no
setProperty