You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The readme convers how to install it, and the API that you get on the Diff object, but it seems to be missing the part in between those two on how to actually import the thing you'll be working with. Even just a seemingly silly sentence like:
then import the diffing object using import Diff from "diff";
would fill the gap that currently exists =)
(because is it import Diff? import { Diff }? import diff from "diff"; const Diff = diff.newDiff()? Most folks can guess at what it should be of course, especially with typehint aware editors, but they shouldn't need to guess =)
The text was updated successfully, but these errors were encountered:
The readme convers how to install it, and the API that you get on the
Diff
object, but it seems to be missing the part in between those two on how to actually import the thing you'll be working with. Even just a seemingly silly sentence like:would fill the gap that currently exists =)
(because is it
import Diff
?import { Diff }
?import diff from "diff"; const Diff = diff.newDiff()
? Most folks can guess at what it should be of course, especially with typehint aware editors, but they shouldn't need to guess =)The text was updated successfully, but these errors were encountered: