-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Make path steps type more formal (#156)
* 🚧 Add symbols prop, index and slice * ✅ Update toPath tests * 🚚 Rename path.utils.js to utils.js * ♻️ Formalize types in path * ♻️ Formalize types in apply * ♻️ Formalize types in get * ♻️ Allow only prop and index types in get path * ✅ Update pathAlreadyApplied tests * ♻️ Formalize types in pathAlreadyApplied * ♻️ allowingArrays won't map props anymore * ♻️ Formalize prop types in protect * 💡 Update toPath and unsafeToPath doc * ♻️ Remove unnecessary undefined
- Loading branch information
1 parent
d620d6c
commit 3067ed3
Showing
10 changed files
with
169 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const prop = Symbol('prop') | ||
|
||
export const index = Symbol('index') | ||
|
||
export const slice = Symbol('slice') |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.