Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Type safety for "loadFlow" function when using the extension #115

@GabiGrin

Description

@GabiGrin

loadFlow receives a string that isn't type-safe, leading to possible annoying errors such as typos or loadFlow not failing when .flyde files were moved around (#112 ?)

Also, adding type safety to the inputs and outputs of a flow is very valuable.

For any future contributor who wants to take a look:
There's already some attempt I've made to do this - see https://github.com/flydelabs/flyde/blob/main/dev-server/src/service/generate-typings.ts (dev-server is the module used by the vs-code extension)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions