Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Sep 23, 2023
1 parent 8138151 commit e0faba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_js/typedoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ def to_ir(self, converter: Converter) -> tuple[ir.Attribute, Sequence["Node"]]:
# There's no signature to speak of for a getter: only a return type.
type = self.getSignature.type
else:
assert self.setSignature
# ES6 says setters have exactly 1 param.
type = self.setSignature.parameters[0].type

Expand Down

0 comments on commit e0faba2

Please sign in to comment.