matrix-react-sdk
0a35c696 - Pass more strictNullChecks by changing onFinished in ComponentType to non-optional

Commit
2 years ago
Pass more strictNullChecks by changing onFinished in ComponentType to non-optional I believe this helps because the gymnastics with ComponentProps makes onFinished doubly-optional, which then doesn't match the types of the props of the dialog we are passing in to Modal.createDialog. Reduces the number of strict errors by ~200 and does not introduce any new ones.
Author
Committer
Parents
Loading