From 0888e2c39cd8035561dca70a5bd431806944e9d3 Mon Sep 17 00:00:00 2001 From: longhao Date: Sat, 2 Nov 2024 01:13:02 +0800 Subject: [PATCH] fix(api/application): Update return type hint for activeDocument method Update the return type hint for the activeDocument method to improve code clarity and maintainability. Signed-off-by: longhao --- photoshop/api/application.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photoshop/api/application.py b/photoshop/api/application.py index 57032323..0df16cfa 100644 --- a/photoshop/api/application.py +++ b/photoshop/api/application.py @@ -80,7 +80,7 @@ def layerSets(self) -> LayerSets: return LayerSets(self.app.LayerSets) @property - def activeDocument(self): + def activeDocument(self) -> Document: """The front-most documents. Setting this property is equivalent to clicking an