Skip to content

'Extract function' refactoring is suggested on literal types #18060

Description

@DanielRosenwasser
type Action =
    | { action: 'APPEND', data: string }

Hover over 'APPEND'.

Expected: Nothing
Actual: Suggestion to extract a function.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: LS: Refactoringse.g. extract to constant or function, rename symbolFixedA 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