dillon1000/react

Commit

[hir] Add invariant to check if useMemo callback accepts args

Browse files
Changed paths3 files
First-parent comparison
M compiler/forget/src/Inference/InlineUseMemo.ts ModifiedA compiler/forget/src/__tests__/fixtures/compiler/error.useMemo-callback-args.expect.md AddedA compiler/forget/src/__tests__/fixtures/compiler/error.useMemo-callback-args.js Added
Patch

Files changed

Rendering syntax-highlighted changes…