@dungarees/rxjs 0.11.4 → 0.11.6
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/package.json +1215 -307
- package/util.d.ts +3 -7
package/util.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import type { FilterRecord, Guard } from '@dungarees/core/type-util.ts';
|
|
2
2
|
import { type Observable, type OperatorFunction } from 'rxjs';
|
|
3
3
|
import { type ZodSchema } from 'zod';
|
|
4
|
-
export declare const UNSAFE_MARBLE_TESTING_OBSERVABLE_FUNCTION:
|
|
5
|
-
export type UnsafeMarbleTestingObservableFunction<T extends (...args: never[]) => unknown = (...args: never[]) => unknown> = T & {
|
|
6
|
-
|
|
7
|
-
};
|
|
8
|
-
export type SafeMarbleTestingObservableFunction<T extends (...args: never[]) => unknown> = T & {
|
|
9
|
-
[UNSAFE_MARBLE_TESTING_OBSERVABLE_FUNCTION]: false;
|
|
10
|
-
};
|
|
4
|
+
export declare const UNSAFE_MARBLE_TESTING_OBSERVABLE_FUNCTION: any;
|
|
5
|
+
export type UnsafeMarbleTestingObservableFunction<T extends (...args: never[]) => unknown = (...args: never[]) => unknown> = T & {};
|
|
6
|
+
export type SafeMarbleTestingObservableFunction<T extends (...args: never[]) => unknown> = T & {};
|
|
11
7
|
export type UnsafeService<SERVICE extends Record<string, (...args: never[]) => unknown>> = {
|
|
12
8
|
[K in keyof SERVICE]: SERVICE[K] extends (...args: never[]) => Observable<unknown> ? UnsafeMarbleTestingObservableFunction<SERVICE[K]> : SERVICE[K];
|
|
13
9
|
};
|