Docs: use original type restriction text when type is found