registerConfig() wrapped around type(), instead I would love to just have the second parameter to the register function be passed through from type() so that I could call type() internally, i.e.Parameters<typeof type>[0] is not resolving correctly. Is there a better way to get to that type?