Skip to content

Commit

Permalink
Fix invalid Usage section for diff-sequences in README (jestjs#9053)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored and pedrottimark committed Oct 15, 2019
1 parent 01fd3a4 commit d74da1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/diff-sequences/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To add this package as a dependency of a project, do either of the following:

To use `diff` as the name of the default export from this package, do either of the following:

- `var diff = require('diff-sequences'); // CommonJS modules`
- `var diff = require('diff-sequences').default; // CommonJS modules`
- `import diff from 'diff-sequences'; // ECMAScript modules`

Call `diff` with the **lengths** of sequences and your **callback** functions:
Expand Down

0 comments on commit d74da1a

Please sign in to comment.