Ecosyste.ms: Issues
An open API service for providing issue and pull request metadata for open source projects.
GitHub / gvergnaud/ts-pattern issues and pull requests
#310 - Exhaustive fails for optional properties
Issue -
State: open - Opened by allan-cannon 5 days ago
#309 - empty array matches `{}` pattern
Issue -
State: open - Opened by iyefrat 8 days ago
#307 - fix(isMatching): Fix non-object patterns
Pull Request -
State: closed - Opened by gvergnaud 30 days ago
#306 - isMatching(pattern, value) is broken for most patterns in v5.6.1
Issue -
State: closed - Opened by zoontek about 1 month ago
- 1 comment
#305 - fix(isMatching): Allow unknown properties in pattern
Pull Request -
State: closed - Opened by gvergnaud about 1 month ago
#303 - build(deps-dev): bump bun from 1.0.4 to 1.1.30 in /benchmarks
Pull Request -
State: closed - Opened by dependabot[bot] 2 months ago
Labels: dependencies
#302 - Improvements to `P.infer` and `isMatching`
Pull Request -
State: closed - Opened by gvergnaud 2 months ago
#301 - `P.select()` failing to extract `any` type, but succeeds for all other types
Issue -
State: open - Opened by drazik 3 months ago
#300 - match.with should match static field value
Issue -
State: open - Opened by wenerme 3 months ago
#299 - `groups` does not exist in type `KnownPattern<RegExpExecArray>`
Issue -
State: open - Opened by tao-cumplido 3 months ago
- 1 comment
#297 - ci(bench): migrate benchmark tool benny to vitest
Pull Request -
State: open - Opened by sunrabbit123 4 months ago
- 3 comments
#295 - The output result is different from what was expected!
Issue -
State: closed - Opened by kristy-zhj 4 months ago
- 1 comment
Labels: enhancement
#294 - build(deps): bump cookie and express in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 4 months ago
- 1 comment
Labels: dependencies
#293 - Export additional useful types
Pull Request -
State: open - Opened by trevorsmith 5 months ago
#292 - Export Pattern types in package.json
Pull Request -
State: closed - Opened by GGomez99 5 months ago
#291 - TSError: The inferred type of 'MY_PATTERN' cannot be named without a reference to '<path>/ts-pattern/dist/types/Pattern'
Issue -
State: closed - Opened by GGomez99 5 months ago
- 3 comments
#290 - chore: 💬updated literals
Pull Request -
State: open - Opened by vibhanshu909 5 months ago
#289 - build(deps-dev): bump rollup from 2.79.1 to 2.79.2
Pull Request -
State: closed - Opened by dependabot[bot] 5 months ago
Labels: dependencies
#288 - Support for own primitive types like UUID or Email
Issue -
State: closed - Opened by nkoehring 5 months ago
- 1 comment
Labels: enhancement
#287 - fix matchPatter helper code structures
Pull Request -
State: closed - Opened by kirylbehan 5 months ago
- 1 comment
#286 - perf: improve type checking performance of BuildMany
Pull Request -
State: closed - Opened by gvergnaud 5 months ago
#285 - P.instanceof cannot be used for classes which has a private constructor.
Issue -
State: open - Opened by LumaKernel 5 months ago
- 3 comments
#284 - Fixes type `InvertPatternForExcludeInternal` to work with readonly array
Pull Request -
State: closed - Opened by changwoolab 5 months ago
#283 - build(deps): bump serve-static and express in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 5 months ago
Labels: dependencies
#282 - build(deps-dev): bump express from 4.19.2 to 4.21.0 in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 5 months ago
- 1 comment
Labels: dependencies
#281 - build(deps): bump body-parser and express in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 5 months ago
- 1 comment
Labels: dependencies
#280 - build(deps): bump send and express in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 5 months ago
- 1 comment
Labels: dependencies
#278 - Exhaustiveness check fails for tagged union with a partial discriminant.
Issue -
State: open - Opened by jb-asi 6 months ago
- 3 comments
#276 - build(deps-dev): bump webpack from 5.91.0 to 5.94.0 in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 6 months ago
Labels: dependencies
#275 - Expose `getSelectionKeys` from new `./<internals | helpers | advanced>` package entry-point.
Issue -
State: open - Opened by audunolsen 6 months ago
- 1 comment
Labels: enhancement
#274 - Ability to Dynamically Build Match Cases
Issue -
State: open - Opened by rjray 6 months ago
Labels: enhancement
#273 - build(deps-dev): bump braces from 3.0.2 to 3.0.3
Pull Request -
State: closed - Opened by dependabot[bot] 6 months ago
Labels: dependencies
#272 - Symbols as keys
Pull Request -
State: closed - Opened by Ayc0 7 months ago
- 1 comment
#271 - Match + exhaustive doesn't work with readonly array
Issue -
State: closed - Opened by rikutiira 7 months ago
Labels: bug
#270 - feat: throw custom `ExhaustiveError` when no matched pattern
Pull Request -
State: closed - Opened by adamhamlin 7 months ago
#269 - Throw explicit `ExhaustiveError`
Issue -
State: closed - Opened by adamhamlin 7 months ago
- 7 comments
Labels: enhancement
#268 - can't infer types from Pattern generic
Issue -
State: closed - Opened by sun0day 7 months ago
- 1 comment
#267 - union type appears not to work with booleans (?)
Issue -
State: closed - Opened by sebpowell 8 months ago
- 3 comments
#266 - Example in readme doesn't open
Issue -
State: closed - Opened by o-az 8 months ago
- 1 comment
#265 - Matching on union property doesn't narrow the property
Issue -
State: closed - Opened by LBBO 8 months ago
- 2 comments
#264 - `.exhaustive()` does not cause TS error when using `instanceOf`
Issue -
State: open - Opened by BenLorantfy-AB 8 months ago
- 1 comment
#262 - build(deps-dev): bump braces from 3.0.2 to 3.0.3 in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 8 months ago
Labels: dependencies
#261 - feat: .narrow() method & typechecking perf improvement
Pull Request -
State: open - Opened by gvergnaud 8 months ago
#260 - docs: fix typo in `P.when` patterns code example
Pull Request -
State: closed - Opened by grigorischristainas 8 months ago
- 1 comment
#259 - Deno Port
Pull Request -
State: open - Opened by sachaw 9 months ago
#258 - Object's unions with unions in keys require us to check for patterns that won't exist
Issue -
State: closed - Opened by nullndr 9 months ago
- 5 comments
#257 - feat: Added P.string.length
Pull Request -
State: closed - Opened by JUSTIVE 9 months ago
- 2 comments
#256 - P.string.length
Issue -
State: closed - Opened by JUSTIVE 9 months ago
Labels: enhancement
#253 - feat(exhaustive): Add support for passing a fallback function
Pull Request -
State: open - Opened by gvergnaud 9 months ago
- 1 comment
#252 - fix: exhaustive checking with nested P.nonNullable patterns
Pull Request -
State: closed - Opened by gvergnaud 9 months ago
#251 - chore: typo in bug_report
Pull Request -
State: closed - Opened by JUSTIVE 9 months ago
#249 - build(deps-dev): bump ejs from 3.1.9 to 3.1.10 in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 10 months ago
Labels: dependencies
#248 - build(deps-dev): bump ejs from 3.1.9 to 3.1.10
Pull Request -
State: closed - Opened by dependabot[bot] 10 months ago
Labels: dependencies
#247 - `Pattern.nonNullable` does not behave as expected
Issue -
State: closed - Opened by ItaiYosephi 10 months ago
- 2 comments
#246 - Feature: return the value directly
Issue -
State: closed - Opened by gideaoms 10 months ago
- 2 comments
Labels: enhancement
#246 - Feature: return the value directly
Issue -
State: open - Opened by gideaoms 10 months ago
Labels: enhancement
#245 - chore: add P.map specific jsdoc for P.map
Pull Request -
State: closed - Opened by momentiris 10 months ago
#244 - feat: added docs and test for P.object.exact(..)
Pull Request -
State: open - Opened by JUSTIVE 11 months ago
- 6 comments
#243 - build(deps): bump postcss and react-scripts in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 11 months ago
Labels: dependencies
#242 - build(deps): bump loader-utils and react-scripts in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 11 months ago
Labels: dependencies
#241 - build(deps): bump jsdom and react-scripts in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 11 months ago
Labels: dependencies
#240 - build(deps): bump tough-cookie and react-scripts in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 11 months ago
Labels: dependencies
#239 - build(deps): bump shell-quote and react-scripts in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 11 months ago
Labels: dependencies
#238 - build(deps): bump node-forge and react-scripts in /examples/gif-fetcher
Pull Request -
State: closed - Opened by dependabot[bot] 11 months ago
- 1 comment
Labels: dependencies
#237 - Fix(P.nonNullable): narrowing of unions of objects
Pull Request -
State: closed - Opened by gvergnaud 11 months ago
#236 - P.nonNullable behaves differently than P.not(P.nullish)
Issue -
State: closed - Opened by zoontek 11 months ago
- 2 comments
#235 - Does not seem to resolve discriminated unions correctly
Issue -
State: closed - Opened by ian-schu 11 months ago
- 4 comments
#234 - Add P.object, P.object.empty and P.object.exact()
Pull Request -
State: open - Opened by gvergnaud 11 months ago
- 3 comments
#233 - Add P.object and P.object.empty
Pull Request -
State: closed - Opened by gitsunmin 11 months ago
- 1 comment
#232 - Example playground doesn't open
Issue -
State: closed - Opened by o-az 11 months ago
- 1 comment
#231 - `with(P.not([])` with readonly array
Issue -
State: open - Opened by JUSTIVE 11 months ago
#230 - Support P.object.empty
Issue -
State: open - Opened by gitsunmin 11 months ago
- 1 comment
Labels: enhancement
#229 - feat: Add P.nonNullable patterns
Pull Request -
State: closed - Opened by gvergnaud 11 months ago
#228 - There are cases where unwanted patterns match.
Issue -
State: closed - Opened by gitsunmin 11 months ago
- 8 comments
#227 - Template literal matching support
Issue -
State: open - Opened by cyberixae 12 months ago
- 2 comments
Labels: enhancement
#224 - fix: Make sure regeneratorRuntime isn't included in the cjs build
Pull Request -
State: closed - Opened by gvergnaud about 1 year ago
#223 - Enter multiple pipeline for objects type match
Issue -
State: closed - Opened by dante01yoon about 1 year ago
- 1 comment
Labels: enhancement
#222 - How to check if a key of unknown type exists on an object?
Issue -
State: open - Opened by davezuch about 1 year ago
- 3 comments
Labels: enhancement
#220 - Deconstruct string matched with `.startsWith`, `.endsWith`, `regex`
Issue -
State: open - Opened by titouancreach about 1 year ago
- 2 comments
Labels: enhancement
#219 - added a safe exhaustiveness check
Pull Request -
State: open - Opened by jjhiggz about 1 year ago
- 3 comments
#218 - .safeExhaustive
Issue -
State: open - Opened by jjhiggz about 1 year ago
- 2 comments
Labels: enhancement
#217 - Predicate factory
Issue -
State: open - Opened by eloytoro about 1 year ago
- 5 comments
Labels: enhancement
#215 - a way to split long match blocks
Issue -
State: open - Opened by phaux about 1 year ago
Labels: enhancement
#214 - Perf: support exhaustive match on larger unions
Pull Request -
State: closed - Opened by gvergnaud about 1 year ago
#213 - Handling of undefined typings in tuples
Issue -
State: open - Opened by kevinresol about 1 year ago
- 1 comment
#212 - Select sub-type for exhaustive check. E.g. `.exhaustive(([state, event]) => event.type)`
Issue -
State: open - Opened by audunolsen about 1 year ago
Labels: enhancement
#211 - export PatternMatcher type to better support custom matchers
Pull Request -
State: closed - Opened by cevr about 1 year ago
#209 - Support point-free style
Issue -
State: open - Opened by kabo about 1 year ago
- 3 comments
Labels: enhancement
#207 - fix(readonly): exhaustive matching on readonly array
Pull Request -
State: closed - Opened by gvergnaud about 1 year ago
#206 - Handle readonly arrays in .exhaustive()
Issue -
State: closed - Opened by philer about 1 year ago
- 2 comments
Labels: enhancement, Done
#205 - Preventing use of `.exhaustive()` for enum checks
Issue -
State: open - Opened by tbarusseau about 1 year ago
- 1 comment
Labels: enhancement
#204 - Type NonExhaustiveError<BoardDto> has no call signatures
Issue -
State: closed - Opened by Tsyklop about 1 year ago
#203 - Support type predicate return type at `.when()` callback
Issue -
State: closed - Opened by thawankeane over 1 year ago
- 4 comments
Labels: enhancement
#202 - Seemingly incorrect tuple maching types
Issue -
State: closed - Opened by rijenkii over 1 year ago
- 1 comment
#201 - Nullish pattern doesn't work with omitted fields
Issue -
State: closed - Opened by IonasNeonakis over 1 year ago
- 2 comments
#200 - build(deps-dev): bump @babel/traverse from 7.21.5 to 7.23.2
Pull Request -
State: closed - Opened by dependabot[bot] over 1 year ago
Labels: dependencies
#199 - build(deps-dev): bump postcss from 8.4.23 to 8.4.31
Pull Request -
State: closed - Opened by dependabot[bot] over 1 year ago
Labels: dependencies
#198 - How do I return a string | null from a match
Issue -
State: closed - Opened by st-clair-clarke over 1 year ago
- 2 comments
#197 - Object with `any` breaks `.with` chaining
Issue -
State: open - Opened by gabrielalmeida over 1 year ago
- 4 comments
#196 - Many JSDoc examples are incorrect
Issue -
State: closed - Opened by chriskuech over 1 year ago
- 1 comment
Labels: Done