Description
On pkgsite mock.AnythingOfType is marked as deprecated.
mock.AnythingOfTypeArgument was marked deprecated by #1441. But because AnythingOfType is a factory function for AnythingOfTypeArgument and factory functions are shown nested under the type, this gets deprecated too.
This is problematic because the AnythingOfTypeArgument deprecation notice says to use AnythingOfType.
Running pkgsite locally shows this is fixed if AnythingOfType returns the unexported anythingOfTypeArgument, as it's a type alias that shouldn't be a breaking change.
My VSCode doesn't reflect this:

Step To Reproduce
View public docs for mock package on pkgsite
Expected behavior
AnythingOfTypeArgument deprecated, AnythingOfType not.
Actual behavior
Both deprecated.
Description
On pkgsite
mock.AnythingOfTypeis marked as deprecated.mock.AnythingOfTypeArgumentwas marked deprecated by #1441. But becauseAnythingOfTypeis a factory function forAnythingOfTypeArgumentand factory functions are shown nested under the type, this gets deprecated too.This is problematic because the AnythingOfTypeArgument deprecation notice says to use AnythingOfType.
Running pkgsite locally shows this is fixed if
AnythingOfTypereturns the unexportedanythingOfTypeArgument, as it's a type alias that shouldn't be a breaking change.My VSCode doesn't reflect this:

Step To Reproduce
View public docs for mock package on pkgsite
Expected behavior
AnythingOfTypeArgument deprecated, AnythingOfType not.
Actual behavior
Both deprecated.