@sevtech/kit 21.6.0 → 21.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/misc/index.d.ts +6 -1
  2. package/package.json +1 -1
package/misc/index.d.ts CHANGED
@@ -306,7 +306,12 @@ type NoUndefinedValues<S> = {
306
306
  type FallbackMode = 'none' | 'defaults' | 'list';
307
307
  interface ApplyToSource<T, Acc> {
308
308
  (source: readonly T[]): Prettify<Acc>[];
309
- <S extends T | Nil>(source: S): Extract<S, Nil> | Prettify<Acc>;
309
+ (source: T): Prettify<Acc>;
310
+ (source: null): null;
311
+ (source: undefined): undefined;
312
+ (source: T | null): Prettify<Acc> | null;
313
+ (source: T | undefined): Prettify<Acc> | undefined;
314
+ (source: T | Nil): Prettify<Acc> | Nil;
310
315
  (source: T): Prettify<Acc>;
311
316
  }
312
317
  interface ApplyWithDefaults<T, Acc> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sevtech/kit",
3
- "version": "21.6.0",
3
+ "version": "21.6.1",
4
4
  "sideEffects": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"