@rimbu/collection-types
Advanced tools
Comparing version 0.9.10 to 0.9.11
@@ -836,11 +836,11 @@ import type { Token } from '@rimbu/base'; | ||
get _types(): Tp; | ||
empty: <K extends UK, V>() => WithKeyValue<Tp, K, V>["normal"]; | ||
from: any; | ||
of: <K extends UK, V>(values_0: readonly [K, V], ...values_1: (readonly [K, V])[]) => K extends UK ? WithKeyValue<Tp, K, V>["nonEmpty"] : never; | ||
reducer: <K extends UK, V>(source?: StreamSource<readonly [K, V]>) => Reducer<readonly [K, V], WithKeyValue<Tp, K, V>["normal"]>; | ||
mergeAllWith: any; | ||
mergeAll: any; | ||
mergeWith: any; | ||
merge: any; | ||
readonly empty: <K extends UK, V>() => WithKeyValue<Tp, K, V>["normal"]; | ||
readonly from: any; | ||
readonly of: <K extends UK, V>(values_0: readonly [K, V], ...values_1: (readonly [K, V])[]) => K extends UK ? WithKeyValue<Tp, K, V>["nonEmpty"] : never; | ||
readonly reducer: <K extends UK, V>(source?: StreamSource<readonly [K, V]>) => Reducer<readonly [K, V], WithKeyValue<Tp, K, V>["normal"]>; | ||
readonly mergeAllWith: any; | ||
readonly mergeAll: any; | ||
readonly mergeWith: any; | ||
readonly merge: any; | ||
} | ||
} |
@@ -505,7 +505,7 @@ import type { Elem, WithElem } from '@rimbu/collection-types/set-custom'; | ||
get _types(): Tp; | ||
empty: <T extends UT>() => WithElem<Tp, T>["normal"]; | ||
from: any; | ||
of: <T extends UT>(values_0: T, ...values_1: T[]) => T extends UT ? WithElem<Tp, T>["nonEmpty"] : never; | ||
reducer: <T extends UT>(source?: StreamSource<T>) => Reducer<T, WithElem<Tp, T>["normal"]>; | ||
readonly empty: <T extends UT>() => WithElem<Tp, T>["normal"]; | ||
readonly from: any; | ||
readonly of: <T extends UT>(values_0: T, ...values_1: T[]) => T extends UT ? WithElem<Tp, T>["nonEmpty"] : never; | ||
readonly reducer: <T extends UT>(source?: StreamSource<T>) => Reducer<T, WithElem<Tp, T>["normal"]>; | ||
} | ||
} |
{ | ||
"name": "@rimbu/collection-types", | ||
"version": "0.9.10", | ||
"version": "0.9.11", | ||
"description": "Type definitions for the basic generic Rimbu collections", | ||
@@ -65,5 +65,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@rimbu/base": "^0.8.2", | ||
"@rimbu/common": "^0.9.2", | ||
"@rimbu/stream": "^0.10.10", | ||
"@rimbu/base": "^0.9.0", | ||
"@rimbu/common": "^0.9.3", | ||
"@rimbu/stream": "^0.10.11", | ||
"tslib": "^2.4.0" | ||
@@ -78,3 +78,3 @@ }, | ||
}, | ||
"gitHead": "33dd7ca935f19f513586834a2ce1b1f886352ae7" | ||
"gitHead": "4efaf8c469d606381517984436383fd6b1b61ec0" | ||
} |
@@ -977,7 +977,7 @@ import type { Token } from '@rimbu/base'; | ||
empty = <K extends UK, V>(): WithKeyValue<Tp, K, V>['normal'] => { | ||
readonly empty = <K extends UK, V>(): WithKeyValue<Tp, K, V>['normal'] => { | ||
return this._empty; | ||
}; | ||
from: any = <K extends UK, V>( | ||
readonly from: any = <K extends UK, V>( | ||
...sources: ArrayNonEmpty<StreamSource<readonly [K, V]>> | ||
@@ -1011,3 +1011,3 @@ ): WithKeyValue<Tp, K, V>['normal'] => { | ||
of = <K extends UK, V>( | ||
readonly of = <K extends UK, V>( | ||
...values: ArrayNonEmpty<readonly [K, V]> | ||
@@ -1018,3 +1018,3 @@ ): K extends UK ? WithKeyValue<Tp, K, V>['nonEmpty'] : never => { | ||
reducer = <K extends UK, V>( | ||
readonly reducer = <K extends UK, V>( | ||
source?: StreamSource<readonly [K, V]> | ||
@@ -1037,3 +1037,3 @@ ): Reducer<readonly [K, V], WithKeyValue<Tp, K, V>['normal']> => { | ||
mergeAllWith: any = < | ||
readonly mergeAllWith: any = < | ||
K, | ||
@@ -1086,3 +1086,7 @@ I extends readonly [unknown, unknown, ...unknown[]] | ||
mergeAll: any = <O, K, I extends readonly [unknown, unknown, ...unknown[]]>( | ||
readonly mergeAll: any = < | ||
O, | ||
K, | ||
I extends readonly [unknown, unknown, ...unknown[]] | ||
>( | ||
fillValue: O, | ||
@@ -1097,3 +1101,3 @@ ...sources: { [KT in keyof I]: StreamSource<readonly [K, I[KT]]> } | ||
mergeWith: any = <I extends readonly [unknown, ...unknown[]], K>( | ||
readonly mergeWith: any = <I extends readonly [unknown, ...unknown[]], K>( | ||
...sources: { [KT in keyof I]: StreamSource<readonly [K, I[KT]]> } | ||
@@ -1163,3 +1167,3 @@ ): any => { | ||
merge: any = <K, I extends readonly [unknown, ...unknown[]]>( | ||
readonly merge: any = <K, I extends readonly [unknown, ...unknown[]]>( | ||
...sources: { [KT in keyof I]: StreamSource<readonly [K, I[KT]]> } | ||
@@ -1166,0 +1170,0 @@ ): any => { |
@@ -581,7 +581,7 @@ import type { Elem, WithElem } from '@rimbu/collection-types/set-custom'; | ||
empty = <T extends UT>(): WithElem<Tp, T>['normal'] => { | ||
readonly empty = <T extends UT>(): WithElem<Tp, T>['normal'] => { | ||
return this._empty; | ||
}; | ||
from: any = <T extends UT>( | ||
readonly from: any = <T extends UT>( | ||
...sources: ArrayNonEmpty<StreamSource<T>> | ||
@@ -615,3 +615,3 @@ ): WithElem<Tp, T>['normal'] => { | ||
of = <T extends UT>( | ||
readonly of = <T extends UT>( | ||
...values: ArrayNonEmpty<T> | ||
@@ -622,3 +622,3 @@ ): T extends UT ? WithElem<Tp, T>['nonEmpty'] : never => { | ||
reducer = <T extends UT>( | ||
readonly reducer = <T extends UT>( | ||
source?: StreamSource<T> | ||
@@ -625,0 +625,0 @@ ): Reducer<T, WithElem<Tp, T>['normal']> => { |
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
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
196059
4336
- Removed@rimbu/base@0.8.2(transitive)
Updated@rimbu/base@^0.9.0
Updated@rimbu/common@^0.9.3
Updated@rimbu/stream@^0.10.11