Skip to content

Add migration for TSModuleDeclaration AST change#3021

Merged
JLHwung merged 1 commit intobabel:mainfrom
nicolo-ribaudo:docs-namespace-ast-babel-8
May 1, 2025
Merged

Add migration for TSModuleDeclaration AST change#3021
JLHwung merged 1 commit intobabel:mainfrom
nicolo-ribaudo:docs-namespace-ast-babel-8

Conversation

@nicolo-ribaudo
Copy link
Member

@netlify
Copy link

netlify bot commented Dec 4, 2024

Deploy Preview for babel-next ready!

Name Link
🔨 Latest commit 06d52fc
🔍 Latest deploy log https://app.netlify.com/sites/babel-next/deploys/6813531cbe71e70008ac562f
😎 Deploy Preview https://deploy-preview-3021--babel-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Dec 4, 2024

Deploy Preview for babel ready!

Name Link
🔨 Latest commit 06d52fc
🔍 Latest deploy log https://app.netlify.com/sites/babel/deploys/6813531c43a6c80008e54af4
😎 Deploy Preview https://deploy-preview-3021--babel.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@liuxingbaoyu liuxingbaoyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor

@JLHwung JLHwung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

}
```

- The second argument (`body`) of `TSModuleDeclaration` cannot be a `TSModuleDeclaration` anymore ([#16982](https://github.com/babel/babel/pull/16982))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- The second argument (`body`) of `TSModuleDeclaration` cannot be a `TSModuleDeclaration` anymore ([#16982](https://github.com/babel/babel/pull/16982))
- The second argument (`body`) of `t.tsModuleDeclaration` cannot be a `TSModuleDeclaration` node anymore ([#16982](https://github.com/babel/babel/pull/16982))

@JLHwung
Copy link
Contributor

JLHwung commented Apr 30, 2025

@nicolo-ribaudo Could you rebase?

@nicolo-ribaudo nicolo-ribaudo force-pushed the docs-namespace-ast-babel-8 branch from 229905c to 06d52fc Compare May 1, 2025 10:55
@JLHwung JLHwung merged commit c2c6ddb into babel:main May 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants