diff --git a/changelog_unreleased/flow/19022.md b/changelog_unreleased/flow/19022.md deleted file mode 100644 index 16f4f4ec0..000000000 --- a/changelog_unreleased/flow/19022.md +++ /dev/null @@ -1,19 +0,0 @@ -#### Support `readonly` as a variance annotation (#19022 by @marcoww6) - -Flow now accepts `readonly` as a property variance annotation, equivalent to `+` (covariant/read-only). - - -```jsx -// Input -type T = { - readonly foo: string, -}; - -// Prettier stable -SyntaxError - -// Prettier main -type T = { - readonly foo: string, -}; -```