Skip to content

Flow comments for local variables #4747

@GeoffreyBooth

Description

@GeoffreyBooth

Per @thejameskyle via #4736 (comment):

With variables:

a ###: number ### = 1

Generates:

var a;

a/*: number */ = 1;

But for that to work in Flow it should be:

var a/*: number */;

a = 1;

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions