Align empty module declaration with TS (#19568)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-07-09 12:57:47 +08:00
1 parent a4e6f7a026
commit 6394c73209
7 files changed
+38 -14

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#### Stop enforcing empty module declaration to break (#19568 by @fisker)
<!-- prettier-ignore -->
```flow
// Input
declare module "foo" {}
// Prettier stable
declare module "foo" {
}
// Prettier main
declare module "foo" {}
```