Skip to content

Type annotations #24

@ariesshrimp

Description

@ariesshrimp

I thought it might be helpful as documentation to try adding type annotations to the code base. I guess I forgot that the annotations would have to be stripped out before runtime. That sucks, because it's nice that the CLI code doesn't have any build process right now. Stripping the types would require a build step, and separate source/build directories. Or runtime overhead by stripping them dynamically.

A branch with some basic annotations is here: https://github.com/joefraley/thingssdk-cli/tree/feature/flow-types

@chalkers does it seem worth while to bother with a transpile thing, or does it seem more like useless overhead?

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