Skip to content

[Folding] Folding action not working in Typescript with return type on separate line #166666

@user72356

Description

@user72356

The folding action is not triggered for Typescript functions with a return type that is on a separate line. Example:

function test()
    : string
{
    return "";
}

But this works:

function test(): string
{
    return "";
}

Metadata

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designededitor-foldingEditor code folding issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions