Align empty module declaration with TS (#19568)
This commit is contained in:
1 parent
a4e6f7a026
commit
6394c73209
7 files changed
+38
-14
No files matched your search
@@ -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" {}
|
||||
```
|
||||
Reference in new issue
Block a user