@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.
- package/misc/index.d.ts +6 -1
- 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
|
-
|
|
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> {
|