ts-pattern
Advanced tools
Comparing version 5.0.2 to 5.0.3-rc.0
@@ -255,9 +255,9 @@ import * as symbols from './internals/symbols.js'; | ||
type AnyConstructor = abstract new (...args: any[]) => any; | ||
type AnyPattern = Chainable<GuardP<unknown, unknown>, never>; | ||
type StringPattern = StringChainable<GuardP<unknown, string>, never>; | ||
type NumberPattern = NumberChainable<GuardP<unknown, number>, never>; | ||
type BooleanPattern = Chainable<GuardP<unknown, boolean>, never>; | ||
type BigIntPattern = BigIntChainable<GuardP<unknown, bigint>, never>; | ||
type SymbolPattern = Chainable<GuardP<unknown, symbol>, never>; | ||
type NullishPattern = Chainable<GuardP<unknown, null | undefined>, never>; | ||
export type AnyPattern = Chainable<GuardP<unknown, unknown>, never>; | ||
export type StringPattern = StringChainable<GuardP<unknown, string>, never>; | ||
export type NumberPattern = NumberChainable<GuardP<unknown, number>, never>; | ||
export type BooleanPattern = Chainable<GuardP<unknown, boolean>, never>; | ||
export type BigIntPattern = BigIntChainable<GuardP<unknown, bigint>, never>; | ||
export type SymbolPattern = Chainable<GuardP<unknown, symbol>, never>; | ||
export type NullishPattern = Chainable<GuardP<unknown, null | undefined>, never>; | ||
/** | ||
@@ -264,0 +264,0 @@ * `P.any` is a wildcard pattern, matching **any value**. |
{ | ||
"name": "ts-pattern", | ||
"version": "5.0.2", | ||
"version": "5.0.3-rc.0", | ||
"description": " The exhaustive Pattern Matching library for TypeScript.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
464002
1