### Describe the bug The checker doesn't currently allow template parameters to be used in array or object value contexts, even if they are constrained to `valueof`. I suspect this has to do with decorator argument checking. ### Reproduction https://typespec.io/playground/?c=CmV4dGVybiBkZWMgZm9vKHRhcmdldDogUmVmbGVjdGlvbi5Nb2RlbCwgb3DEDnM6IHZhbHVlb2YgeyB2OiBzdHJpbmc7IH0pOwrMTGJhcttMYXJny0nGRFtdxENA5ACFI8VbViB9KccQW1ZdKQptxDwgWDxWIMRobmRzz0E%2BIHt9&e=%40typespec%2Fopenapi3&options=%7B%7D ### Checklist - [x] Follow our [Code of Conduct](https://github.com/microsoft/typespec/blob/main/CODE_OF_CONDUCT.md) - [x] Check that there isn't already an issue that request the same bug to avoid creating a duplicate. - [x] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/Microsoft/typespec/discussions). - [x] The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug.