Skip to content

Incorrect formatting mapped types #12960

Description

@mhegazy
type t  < T  > =   {
   [   P   in   keyof    T  ]   :   T  [  p  ]  
};

Expected:

type t<T> = {
    [P in keyof T]: T[p]
};

Actual

type t  < T  > = {
[P   in   keyof    T]: T[p]
};

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: FormatterThe issue relates to the built-in formatterFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions