This repository was archived by the owner on Aug 5, 2024. It is now read-only.
[WIP] initial typescript conversion #60
Closed
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Following on from #58, I've kicked off the conversion of
diff-match-patch
starting with @NeilFraser's starting point as the first commit. I've included the built copy for now, though I may strip that out and rebase it based on feedback.One interesting thing between Neil's built version and my built version:
Not quite sure why typescript goes that route to make an object with a null prototype (that still behaves like an object).
What works
diff_match_patch_uncompressed.js
which is not generated (by name) hereNext steps
@types/diff-match-patch
to ease migration