There is some WIERD stuff going on with using the type object in components.
I suspect this is due to one of the various workarounds that's in place to allow you to write @inherits Foo
This is breaking components and my heart. This is in the generated code.

There's no TModel in this class, the dictionary is defined as Dictionary<object, ValidationMessageStore>.
Level of spookiness
![]()
@rynowak, if this is something @ajaybhargavb can handle, please reassign.
We think support for _Imports.razor will help here: #6374
Most helpful comment
Level of spookiness