diff --git a/src/dependency_injector/providers.pyi b/src/dependency_injector/providers.pyi index 83d6ca88..34d3030d 100644 --- a/src/dependency_injector/providers.pyi +++ b/src/dependency_injector/providers.pyi @@ -67,7 +67,7 @@ class Provider(Generic[T]): def unregister_overrides(self, provider: Union[Provider, Any]) -> None: ... def delegate(self) -> Provider: ... @property - def provider(self) -> Provider: ... + def provider(self) -> Provider[T]: ... @property def provided(self) -> ProvidedInstance: ... def enable_async_mode(self) -> None: ...