-
-
Notifications
You must be signed in to change notification settings - Fork 661
Add Filter type
#1183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
benzaria
wants to merge
45
commits into
sindresorhus:main
Choose a base branch
from
benzaria:Filter
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+542
−3
Open
Add Filter type
#1183
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
9cda493
feat: init `Filter` type
benzaria a56ed2c
feat: add extra tests, refactor type for readability, add extra condi…
benzaria c100e9c
Merge branch 'sindresorhus:main' into Filter
benzaria 80404b5
refactor: improve JSDoc links and clean up test cases for ArrayFilter
benzaria 20dffe3
Merge branch 'origin/Filter' into Filter
benzaria 640cb4f
feat: fix `IsLeadingRestElement` & add `IsTrailingRestElement`
benzaria 26e2b0c
Remake the `ArrayFilter` type and cleanup unused types
benzaria 416d35a
fix: test errors
benzaria d10b19e
Merge branch 'main' into Filter
benzaria d4b89c2
Merge branch 'main' into Filter
benzaria c00320b
reverte: changes on `IsUnion`
benzaria 691b9a1
feat: add `strict` option to `Filter`
benzaria d4fb6ae
improve: added types for `Filter`
benzaria f32aed0
test: fix test errors
benzaria 67ae5b8
improve: `ObjectFilter`
benzaria 8b13bea
Update array.d.ts
sindresorhus 3d2baa7
Update filter.d.ts
sindresorhus d8e2a57
Merge remote-tracking branch 'upstream/main' into Filter
benzaria 2eb53d0
Merge branch 'origin/Filter' into Filter
benzaria 97969ae
feat: improve `Filter` type, test and docs, add test and docs for `Ob…
benzaria 022e082
doc: add examples for `strict` option
benzaria 6498c01
Merge branch 'main' into Filter
benzaria c24f3a7
add `export {}` to `Filter`
benzaria af04729
add `export {}` to `ObjectFilter`
benzaria ed8646f
fix: export errors
benzaria 5dcaa2b
refactor: `ObjectFIlter` test
benzaria 2502eef
Update readme.md
sindresorhus 9c29c46
Update filter.d.ts
sindresorhus 92aba18
Update type.d.ts
sindresorhus b88b1e1
Update object-filter.d.ts
sindresorhus 29eb5e5
`Filter`: add preserve readonly modifier, fix JsDoc example, add some…
benzaria 7b2cd09
`FilterObject`: rename type, some refactoring
benzaria 9cb21a0
minor changes
benzaria 3c606dd
Merge branch 'origin/Filter' into Filter
benzaria a89d8bd
fix `CleanEmpty` error
benzaria b2dc2be
Merge branch 'main' into Filter
benzaria 9984532
feat: merge `FilterObject` to `Filter`
benzaria 58654b0
docs: fix JsDoc examples
benzaria 10477ba
Update filter.d.ts
sindresorhus 11a0b22
Fix grammar in FilterObject and FilterArray comments
sindresorhus 2f5541f
Update array.d.ts
sindresorhus 6a9b4b7
Update filter.d.ts
sindresorhus bd1a9bb
Fix duplicate lines in Extends type documentation
sindresorhus 3a4b48b
Update type.d.ts
sindresorhus 9d80cf1
minor comments change
benzaria File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update filter.d.ts
- Loading branch information
commit 9c29c4654b98ac6307e7a99032dd8f2e47f06741
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.