Skip to content

Include MessagePort with event.data to remove a need to pass Events instances around #13

@Gozala

Description

@Gozala

This would address this TODO:

lunet/docs/lunet.js

Lines 54 to 56 in 84561e2

// TODO: Fix up types. Problem is that we match on `data` which does not
// refine event which is what we need to refine instead.
const $event /*:any*/ = event

And also simplify bunch of code all around.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions