Skip to content

Syntax highlighting issue when using named types #3

@Darkle

Description

@Darkle

When using a named flow typ, e.g.

type MyObject = {
  foo: number,
  bar: boolean,
  baz: string,
}

It seems to mess up the syntax highlighting of the code below it, however it seems you can fix this by simply adding a semi-colon to the end

type MyObject = {
  foo: number,
  bar: boolean,
  baz: string,
};

Not a big issue but I thought I should mention it in case others run in to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions