build: Add type annotations to BuildTarget.get_all_link_deps
@@ -1003,7 +1003,7 @@ class BuildTarget(Target):
return ExtractedObjects(self, self.sources, self.generated, self.objects,
recursive)
- def get_all_link_deps(self):
+ def get_all_link_deps(self) -> 'ImmutableListProtocol[Target]':
return self.get_transitive_link_deps()
@lru_cache(maxsize=None)
