Skip to content

Commit 0888e2c

Browse files
committed
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 <[email protected]>
1 parent 268b31d commit 0888e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

photoshop/api/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def layerSets(self) -> LayerSets:
8080
return LayerSets(self.app.LayerSets)
8181

8282
@property
83-
def activeDocument(self):
83+
def activeDocument(self) -> Document:
8484
"""The front-most documents.
8585
8686
Setting this property is equivalent to clicking an

0 commit comments

Comments
 (0)