Allow folding typescript interface and object type alias #9

Merged
masad-frost merged 1 commit from patch-1 into main 2023-03-30 11:19:36 +02:00
masad-frost commented 2023-03-29 20:42:02 +02:00 (Migrated from github.com)

Folding doesn't work for

interface X {

}

// or
type X = {

}

This PR adds the ObjectType type to the foldNodeProp alongside other block elements.

Folding doesn't work for ``` interface X { } // or type X = { } ``` This PR adds the `ObjectType` type to the `foldNodeProp` alongside other block elements.
marijnh commented 2023-03-30 11:19:45 +02:00 (Migrated from github.com)

Good call. Merged.

Good call. Merged.
sergeichestakov commented 2023-04-03 16:30:43 +02:00 (Migrated from github.com)

thank you! any chance this commit can be published? 🙏

thank you! any chance this commit can be published? 🙏
marijnh commented 2023-04-04 10:11:23 +02:00 (Migrated from github.com)

I've tagged 6.1.5

I've tagged 6.1.5
sergeichestakov commented 2023-04-04 16:03:36 +02:00 (Migrated from github.com)

awesome, thanks so much!

awesome, thanks so much!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/lang-javascript!9
No description provided.