I am trying to write an instance method in Typescript that accepts the name of one of the instance\'s attributes, but only if that attribute\'s name is a string. Why does