Skip to content

Implement typing for FCL args function #7

@maggo

Description

@maggo

Flow arguments are fully typed using @onflow/types

We should translate the runtime typing system to typescript types to have better developer experience and autocompletion

  • Add typings for @onflow/types
  • Create arg function interface that infers the data type from supplied @onflow/types type eg. arg(data: string, types.String)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions