Change signature of editor onBridgeCmd to Any instead of None
This commit is contained in:
parent
da0317cb85
commit
6fbd82f2f8
@ -429,7 +429,7 @@ class Editor:
|
||||
# JS->Python bridge
|
||||
######################################################################
|
||||
|
||||
def onBridgeCmd(self, cmd: str) -> None:
|
||||
def onBridgeCmd(self, cmd: str) -> Any:
|
||||
if not self.note:
|
||||
# shutdown
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user