WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

improve the typing of onCompletedSucessfully #43

@lemke-ethan

Description

@lemke-ethan

there is a problem with unions -- it types the onCompletedSucessfully argument as a union of two functions rather than as a function with a union argument. i.e., the render functions becomes (onCompletedSucesfully:TypeA)=>{} | (onCompletedSucesfully: TypeB)=>{} rather than (onCompletedSucesfully:TypeA|TypeB)=>{}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions