mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
* [@types/enzyme] added `invoke` type definition and tests. * Fixing Linting Errors * Removing creating patch * Tightened `invoke` signature, DRY up common invoke tests, more... More.. 1. Removed tests that were testing the function returned worked as intended. 2. Added tests that focus more on proving the returned function matches the type mapped to the key provided. * Cleaned up tests to rely less on assignment checking * Clean up + Add optional function props to key selector Realized restricting the keys to only those that must be undefined doesn't work well. Also updated the the function base to include function with many signature. I noticed that some were getting left off after converting from Function to () => void. Cleaned / Reverted some lines and indents. Probably will need to do more. * Cleaning up whitespace * more whitespace shenanigans. * updated version to 3.10