See https://github.com/python/typeshed/pull/8358 and https://github.com/python/typeshed/issues/8356#issuecomment-1191837178