ts-pattern
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -62,5 +62,6 @@ import { Pattern, SelectPattern, GuardValue } from './Pattern'; | ||
* ### Match.otherwise | ||
* Catch-all branch. | ||
* takes a function returning the default value | ||
* and return the matched result. | ||
* | ||
* Equivalent to `.with(__)` | ||
* Equivalent to `.with(__, () => x).run()` | ||
**/ | ||
@@ -67,0 +68,0 @@ otherwise: <c>(handler: () => PickReturnValue<b, c>) => PickReturnValue<b, c>; |
{ | ||
"name": "ts-pattern", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Typescript pattern matching library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26071
436