8000 should void also be added to PythonConvertible · Issue #56 · denosaurs/deno_python · GitHub
[go: up one dir, main page]

Skip to content
should void also be added to PythonConvertible  #56
Closed
@sigmaSd

Description

@sigmaSd

Currently this python.callback((_, _) always gives a type error, becuase it seems the jscallback default to void which is not a PythonConvertible.

export type PythonConvertible =

Currently the workaround is to always annotate the type, mostly like this python.callback((_, button: Gtk_.ToggleButton): undefined

If void can be add as a PythonConvertible this would remove this unnecessary typing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0