Skip to content

Commit

Permalink
fix(api/application): Update return type hint for activeDocument method
Browse files Browse the repository at this point in the history
Update the return type hint for the activeDocument method to improve code clarity and maintainability.

Signed-off-by: longhao <hal.long@outlook.com>
  • Loading branch information
loonghao committed Nov 1, 2024
1 parent 268b31d commit 0888e2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion photoshop/api/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0888e2c

Please sign in to comment.