Skip to content

Tolerate newline before function or method return type #93

@mjambon

Description

@mjambon

The following is rejected:

function f()
  : any {}

but it should be treated like

function f() : any {}

It works with the official typescript implementation and it's being used (see report).

I haven't looked into what it would take to fix this.

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