Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolò Ribaudo <[email protected]>
  • Loading branch information
JLHwung and nicolo-ribaudo authored Dec 4, 2024
1 parent 9e6c019 commit 7e76a00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/v8-migration-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Check out the [v8-migration guide](v8-migration.md) for other user-level changes

// AST in Babel 7
{
type: "EnumDeclaration",
type: "TSEnumDeclaration",
id: Identifier("ColorType")
members: [
EnumMember("Red"),
Expand All @@ -102,10 +102,10 @@ Check out the [v8-migration guide](v8-migration.md) for other user-level changes

// AST in Babel 8
{
type: "EnumDeclaration",
type: "TSEnumDeclaration",
id: Identifier("ColorType")
body: {
type: "EnumBody",
type: "TSEnumBody",
members: [
EnumMember("Red"),
EnumMember("Green"),
Expand Down

0 comments on commit 7e76a00

Please sign in to comment.