mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
bbd56b278c
With this change, a simple object type `{ }` means an exact object `{| |}` which most people assume.
Opting for inexact requires the extra `{ a: number, ... }` syntax at the end.
A followup, someone could replace all the `{| |}` with `{ }`.