@oscarpalmer/mora 0.21.0 → 0.23.0

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 (70) hide show
  1. package/dist/batch.js +11 -25
  2. package/dist/constants.js +34 -0
  3. package/dist/effect.js +18 -28
  4. package/dist/helpers/is.js +9 -26
  5. package/dist/helpers/proxy.js +36 -48
  6. package/dist/helpers/value.js +21 -48
  7. package/dist/index.js +3 -16
  8. package/dist/models.js +0 -0
  9. package/dist/mora.full.js +218 -130
  10. package/dist/subscription.js +22 -28
  11. package/dist/value/array.js +97 -182
  12. package/dist/value/computed.js +33 -58
  13. package/dist/value/reactive.js +29 -53
  14. package/dist/value/signal.js +21 -33
  15. package/dist/value/store.js +37 -60
  16. package/package.json +17 -24
  17. package/src/batch.ts +11 -13
  18. package/src/constants.ts +49 -0
  19. package/src/effect.ts +11 -16
  20. package/src/helpers/is.ts +41 -19
  21. package/src/helpers/proxy.ts +34 -38
  22. package/src/helpers/value.ts +19 -14
  23. package/src/index.ts +1 -1
  24. package/src/models.ts +66 -0
  25. package/src/subscription.ts +14 -16
  26. package/src/value/array.ts +87 -45
  27. package/src/value/computed.ts +29 -39
  28. package/src/value/reactive.ts +9 -24
  29. package/src/value/signal.ts +9 -3
  30. package/src/value/store.ts +40 -9
  31. package/types/batch.d.ts +3 -5
  32. package/types/constants.d.ts +14 -0
  33. package/types/effect.d.ts +2 -1
  34. package/types/helpers/is.d.ts +23 -10
  35. package/types/helpers/proxy.d.ts +2 -3
  36. package/types/helpers/value.d.ts +1 -1
  37. package/types/index.d.ts +1 -0
  38. package/types/models.d.ts +56 -0
  39. package/types/subscription.d.ts +3 -6
  40. package/types/value/array.d.ts +48 -7
  41. package/types/value/computed.d.ts +2 -11
  42. package/types/value/reactive.d.ts +8 -17
  43. package/types/value/signal.d.ts +7 -1
  44. package/types/value/store.d.ts +28 -4
  45. package/dist/batch.cjs +0 -32
  46. package/dist/effect.cjs +0 -30
  47. package/dist/helpers/is.cjs +0 -40
  48. package/dist/helpers/proxy.cjs +0 -56
  49. package/dist/helpers/value.cjs +0 -54
  50. package/dist/index.cjs +0 -21
  51. package/dist/node_modules/@oscarpalmer/atoms/dist/internal/is.cjs +0 -17
  52. package/dist/node_modules/@oscarpalmer/atoms/dist/internal/is.js +0 -17
  53. package/dist/subscription.cjs +0 -32
  54. package/dist/value/array.cjs +0 -187
  55. package/dist/value/computed.cjs +0 -60
  56. package/dist/value/reactive.cjs +0 -55
  57. package/dist/value/signal.cjs +0 -36
  58. package/dist/value/store.cjs +0 -63
  59. package/types/batch.d.cts +0 -79
  60. package/types/effect.d.cts +0 -16
  61. package/types/helpers/is.d.cts +0 -259
  62. package/types/helpers/proxy.d.cts +0 -244
  63. package/types/helpers/value.d.cts +0 -71
  64. package/types/index.d.cts +0 -281
  65. package/types/subscription.d.cts +0 -71
  66. package/types/value/array.d.cts +0 -161
  67. package/types/value/computed.d.cts +0 -81
  68. package/types/value/reactive.d.cts +0 -68
  69. package/types/value/signal.d.cts +0 -87
  70. package/types/value/store.d.cts +0 -136
package/types/index.d.cts DELETED
@@ -1,281 +0,0 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
3
- export type GenericCallback = (...args: any[]) => any;
4
- /**
5
- * A useful key type
6
- */
7
- export type Key = number | string;
8
- /**
9
- * A generic object
10
- */
11
- export type PlainObject = Record<PropertyKey, unknown>;
12
- export declare class Effect {
13
- private readonly $mora;
14
- private readonly state;
15
- constructor(callback: GenericCallback);
16
- }
17
- /**
18
- * Create an effect
19
- */
20
- export declare function effect(callback: GenericCallback): Effect;
21
- export declare class Computed<Value> extends Reactive<Value> {
22
- private readonly effect;
23
- constructor(callback: () => Value, options?: ReactiveOptions<Value>);
24
- /**
25
- * @inheritdoc
26
- */
27
- get(): Value;
28
- }
29
- /**
30
- * Create a computed value
31
- */
32
- export declare function computed<Value>(callback: () => Value, options?: ReactiveOptions<Value>): Computed<Value>;
33
- export declare abstract class Reactive<Value, Equal = Value> {
34
- protected readonly state: ReactiveState<Value, Equal>;
35
- constructor(name: string, value: Value, options?: ReactiveOptions<Equal>);
36
- /**
37
- * Get the value
38
- */
39
- abstract get(): Value;
40
- /**
41
- * Get the value _(without reactivity)_
42
- */
43
- peek(): Value;
44
- /**
45
- * Subscribe to changes
46
- */
47
- subscribe(callback: (value: Value) => void): Unsubscribe;
48
- /**
49
- * JSON representation of the value
50
- */
51
- toJSON(): Value;
52
- /**
53
- * String representation of the value
54
- */
55
- toString(): string;
56
- /**
57
- * Unsubscribe from changes
58
- */
59
- unsubscribe(callback: (value: Value) => void): void;
60
- }
61
- export type ReactiveOptions<Value> = {
62
- /**
63
- * Method to compare values for equality
64
- */
65
- equal?: (first: Value, second: Value) => boolean;
66
- };
67
- export type ReactiveState<Value, Equal> = {
68
- computeds: Set<Computed<unknown>>;
69
- effects: Set<Effect>;
70
- equal: (first: Equal, second: Equal) => boolean;
71
- subscriptions: Map<GenericCallback, Subscription>;
72
- value: Value;
73
- };
74
- declare class Subscription {
75
- state: ReactiveState<unknown, never>;
76
- callback: GenericCallback;
77
- constructor(state: ReactiveState<unknown, never>, callback: GenericCallback);
78
- }
79
- /**
80
- * Unsubscribe from changes
81
- */
82
- export type Unsubscribe = () => void;
83
- /**
84
- * Start batching effects _(use `stopBatch` to flush and run batched effects)_
85
- */
86
- export declare function startBatch(): void;
87
- /**
88
- * Stop batching effects and flush _(run)_ them
89
- */
90
- export declare function stopBatch(): void;
91
- export declare class ReactiveArray<Item> extends Reactive<Item[], Item> {
92
- #private;
93
- /**
94
- * The length of the array
95
- */
96
- get length(): number;
97
- /**
98
- * Set the length of the array
99
- */
100
- set length(value: number);
101
- constructor(value: Item[], options?: ReactiveOptions<Item>);
102
- /**
103
- * Clear the array
104
- */
105
- clear(): void;
106
- /**
107
- * @inheritdoc
108
- */
109
- get(): Item[];
110
- /**
111
- * Get the value at an index
112
- */
113
- get(index: number): Item | undefined;
114
- /**
115
- * Get the length of the array
116
- */
117
- get(property: "length"): number;
118
- /**
119
- * Create a computed, filtered array
120
- */
121
- filter(callback: (item: Item, index: number, array: Item[]) => boolean): Computed<Item[]>;
122
- /**
123
- * Create a computed, mapped array
124
- */
125
- map<Mapped>(callback: (item: Item, index: number, array: Item[]) => Mapped): Computed<Mapped[]>;
126
- /**
127
- * @inheritdoc
128
- */
129
- peek(): Item[];
130
- peek(index: number): Item | undefined;
131
- /**
132
- * Get the length of the array _(without reactivity)_
133
- */
134
- peek(length: true): number;
135
- /**
136
- * Remove and return the last item of the array
137
- */
138
- pop(): Item | undefined;
139
- /**
140
- * Add items to the end of the array
141
- */
142
- push(...items: Item[]): number;
143
- /**
144
- * Set the value
145
- */
146
- set(value?: Item[]): void;
147
- /**
148
- * Set the value at an index
149
- */
150
- set(index: number, value: Item): void;
151
- /**
152
- * Set the length of the array
153
- */
154
- set(property: "length", value: number): void;
155
- /**
156
- * Remove and return the first item of the array
157
- */
158
- shift(): Item | undefined;
159
- /**
160
- * Remove and return items from the array _(and optionally add new items)_
161
- */
162
- splice(from: number, to?: number, ...items: Item[]): Item[];
163
- /**
164
- * @inheritdoc
165
- */
166
- subscribe(callback: (value: Item[]) => void): Unsubscribe;
167
- /**
168
- * Subscribe to changes at a specific index
169
- */
170
- subscribe(index: number, callback: (value: Item | undefined) => void): Unsubscribe;
171
- /**
172
- * Add items to the beginning of the array
173
- */
174
- unshift(...items: Item[]): number;
175
- /**
176
- * Update the value _(based on the current value)_
177
- */
178
- update(callback: (value: Item[]) => Item[]): void;
179
- }
180
- /**
181
- * Create a reactive array
182
- */
183
- export declare function array<Item>(value: Item[], options?: ReactiveOptions<Item>): ReactiveArray<Item>;
184
- export declare class Signal<Value> extends Reactive<Value> {
185
- constructor(value: Value, options?: ReactiveOptions<Value>);
186
- /**
187
- * @inheritdoc
188
- */
189
- get(): Value;
190
- /**
191
- * Set the value
192
- */
193
- set(value: Value): void;
194
- /**
195
- * Update the value _(based on the current value)_
196
- */
197
- update(callback: (value: Value) => Value): void;
198
- }
199
- /**
200
- * Create a reactive value
201
- */
202
- export declare function signal<Value>(value: Value, options?: ReactiveOptions<Value>): Signal<Value>;
203
- export declare class Store<Value extends PlainObject> extends Reactive<Value, Value> {
204
- #private;
205
- constructor(value: Value, options?: ReactiveOptions<Value>);
206
- /**
207
- * @inheritdoc
208
- */
209
- get(): Value;
210
- /**
211
- * Get a value by key _(without reactivity)_
212
- */
213
- get(key: keyof Value): Value[keyof Value];
214
- /**
215
- * Get a value by key _(without reactivity)_
216
- */
217
- get(key: Key): unknown;
218
- /**
219
- * Get the value _(without reactivity)_
220
- */
221
- peek(): Value;
222
- /**
223
- * Get a value by key _(without reactivity)_
224
- */
225
- peek(key: keyof Value): Value[keyof Value];
226
- /**
227
- * Get a value by key _(without reactivity)_
228
- */
229
- peek(key: Key): unknown;
230
- /**
231
- * Set the value
232
- */
233
- set(value?: Value): void;
234
- /**
235
- * Set a value by key
236
- */
237
- set(key: keyof Value, value: Value[keyof Value]): void;
238
- /**
239
- * Set a value by key
240
- */
241
- set(key: Key, value: unknown): void;
242
- /**
243
- * @inheritdoc
244
- */
245
- subscribe(callback: (value: Value) => void): Unsubscribe;
246
- /**
247
- * Subscribe to changes for a specific key
248
- */
249
- subscribe<Key extends keyof Value>(key: Key, callback: (value: Value[Key] | undefined) => void): Unsubscribe;
250
- /**
251
- * Subscribe to changes for a specific key
252
- */
253
- subscribe(key: Key, callback: (value: unknown) => void): Unsubscribe;
254
- /**
255
- * Update the value _(based on the current value)_
256
- */
257
- update(callback: (value: Value) => Value): void;
258
- }
259
- /**
260
- * Create a reactive store
261
- */
262
- export declare function store<Value extends PlainObject>(value: Value, options?: ReactiveOptions<Value>): Store<Value>;
263
- /**
264
- * Is the value a reactive array?
265
- */
266
- export declare function isArray(value: unknown): value is ReactiveArray<unknown>;
267
- /**
268
- * Is the value a computed signal?
269
- */
270
- export declare function isComputed(value: unknown): value is Computed<unknown>;
271
- /**
272
- * Is the value an effect?
273
- */
274
- export declare function isEffect(value: unknown): value is Effect;
275
- export declare function isReactive(value: unknown): value is Reactive<unknown>;
276
- /**
277
- * Is the value a signal?
278
- */
279
- export declare function isSignal(value: unknown): value is Signal<unknown>;
280
-
281
- export {};
@@ -1,71 +0,0 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
3
- export type GenericCallback = (...args: any[]) => any;
4
- declare class Effect {
5
- private readonly $mora;
6
- private readonly state;
7
- constructor(callback: GenericCallback);
8
- }
9
- declare class Computed<Value> extends Reactive<Value> {
10
- private readonly effect;
11
- constructor(callback: () => Value, options?: ReactiveOptions<Value>);
12
- /**
13
- * @inheritdoc
14
- */
15
- get(): Value;
16
- }
17
- declare abstract class Reactive<Value, Equal = Value> {
18
- protected readonly state: ReactiveState<Value, Equal>;
19
- constructor(name: string, value: Value, options?: ReactiveOptions<Equal>);
20
- /**
21
- * Get the value
22
- */
23
- abstract get(): Value;
24
- /**
25
- * Get the value _(without reactivity)_
26
- */
27
- peek(): Value;
28
- /**
29
- * Subscribe to changes
30
- */
31
- subscribe(callback: (value: Value) => void): Unsubscribe;
32
- /**
33
- * JSON representation of the value
34
- */
35
- toJSON(): Value;
36
- /**
37
- * String representation of the value
38
- */
39
- toString(): string;
40
- /**
41
- * Unsubscribe from changes
42
- */
43
- unsubscribe(callback: (value: Value) => void): void;
44
- }
45
- export type ReactiveOptions<Value> = {
46
- /**
47
- * Method to compare values for equality
48
- */
49
- equal?: (first: Value, second: Value) => boolean;
50
- };
51
- export type ReactiveState<Value, Equal> = {
52
- computeds: Set<Computed<unknown>>;
53
- effects: Set<Effect>;
54
- equal: (first: Equal, second: Equal) => boolean;
55
- subscriptions: Map<GenericCallback, Subscription>;
56
- value: Value;
57
- };
58
- export declare class Subscription {
59
- state: ReactiveState<unknown, never>;
60
- callback: GenericCallback;
61
- constructor(state: ReactiveState<unknown, never>, callback: GenericCallback);
62
- }
63
- /**
64
- * Unsubscribe from changes
65
- */
66
- export type Unsubscribe = () => void;
67
- export declare function noop(): void;
68
- export declare function subscribe<Value>(state: ReactiveState<Value, never>, callback: (value: Value) => void): Unsubscribe;
69
- export declare function unsubscribe<Value>(state: ReactiveState<Value, never>, callback: (value: Value) => void): void;
70
-
71
- export {};
@@ -1,161 +0,0 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
3
- export type GenericCallback = (...args: any[]) => any;
4
- declare class Effect {
5
- private readonly $mora;
6
- private readonly state;
7
- constructor(callback: GenericCallback);
8
- }
9
- declare class Computed<Value> extends Reactive<Value> {
10
- private readonly effect;
11
- constructor(callback: () => Value, options?: ReactiveOptions<Value>);
12
- /**
13
- * @inheritdoc
14
- */
15
- get(): Value;
16
- }
17
- declare abstract class Reactive<Value, Equal = Value> {
18
- protected readonly state: ReactiveState<Value, Equal>;
19
- constructor(name: string, value: Value, options?: ReactiveOptions<Equal>);
20
- /**
21
- * Get the value
22
- */
23
- abstract get(): Value;
24
- /**
25
- * Get the value _(without reactivity)_
26
- */
27
- peek(): Value;
28
- /**
29
- * Subscribe to changes
30
- */
31
- subscribe(callback: (value: Value) => void): Unsubscribe;
32
- /**
33
- * JSON representation of the value
34
- */
35
- toJSON(): Value;
36
- /**
37
- * String representation of the value
38
- */
39
- toString(): string;
40
- /**
41
- * Unsubscribe from changes
42
- */
43
- unsubscribe(callback: (value: Value) => void): void;
44
- }
45
- export type ReactiveOptions<Value> = {
46
- /**
47
- * Method to compare values for equality
48
- */
49
- equal?: (first: Value, second: Value) => boolean;
50
- };
51
- export type ReactiveState<Value, Equal> = {
52
- computeds: Set<Computed<unknown>>;
53
- effects: Set<Effect>;
54
- equal: (first: Equal, second: Equal) => boolean;
55
- subscriptions: Map<GenericCallback, Subscription>;
56
- value: Value;
57
- };
58
- declare class Subscription {
59
- state: ReactiveState<unknown, never>;
60
- callback: GenericCallback;
61
- constructor(state: ReactiveState<unknown, never>, callback: GenericCallback);
62
- }
63
- /**
64
- * Unsubscribe from changes
65
- */
66
- export type Unsubscribe = () => void;
67
- export declare class ReactiveArray<Item> extends Reactive<Item[], Item> {
68
- #private;
69
- /**
70
- * The length of the array
71
- */
72
- get length(): number;
73
- /**
74
- * Set the length of the array
75
- */
76
- set length(value: number);
77
- constructor(value: Item[], options?: ReactiveOptions<Item>);
78
- /**
79
- * Clear the array
80
- */
81
- clear(): void;
82
- /**
83
- * @inheritdoc
84
- */
85
- get(): Item[];
86
- /**
87
- * Get the value at an index
88
- */
89
- get(index: number): Item | undefined;
90
- /**
91
- * Get the length of the array
92
- */
93
- get(property: "length"): number;
94
- /**
95
- * Create a computed, filtered array
96
- */
97
- filter(callback: (item: Item, index: number, array: Item[]) => boolean): Computed<Item[]>;
98
- /**
99
- * Create a computed, mapped array
100
- */
101
- map<Mapped>(callback: (item: Item, index: number, array: Item[]) => Mapped): Computed<Mapped[]>;
102
- /**
103
- * @inheritdoc
104
- */
105
- peek(): Item[];
106
- peek(index: number): Item | undefined;
107
- /**
108
- * Get the length of the array _(without reactivity)_
109
- */
110
- peek(length: true): number;
111
- /**
112
- * Remove and return the last item of the array
113
- */
114
- pop(): Item | undefined;
115
- /**
116
- * Add items to the end of the array
117
- */
118
- push(...items: Item[]): number;
119
- /**
120
- * Set the value
121
- */
122
- set(value?: Item[]): void;
123
- /**
124
- * Set the value at an index
125
- */
126
- set(index: number, value: Item): void;
127
- /**
128
- * Set the length of the array
129
- */
130
- set(property: "length", value: number): void;
131
- /**
132
- * Remove and return the first item of the array
133
- */
134
- shift(): Item | undefined;
135
- /**
136
- * Remove and return items from the array _(and optionally add new items)_
137
- */
138
- splice(from: number, to?: number, ...items: Item[]): Item[];
139
- /**
140
- * @inheritdoc
141
- */
142
- subscribe(callback: (value: Item[]) => void): Unsubscribe;
143
- /**
144
- * Subscribe to changes at a specific index
145
- */
146
- subscribe(index: number, callback: (value: Item | undefined) => void): Unsubscribe;
147
- /**
148
- * Add items to the beginning of the array
149
- */
150
- unshift(...items: Item[]): number;
151
- /**
152
- * Update the value _(based on the current value)_
153
- */
154
- update(callback: (value: Item[]) => Item[]): void;
155
- }
156
- /**
157
- * Create a reactive array
158
- */
159
- export declare function array<Item>(value: Item[], options?: ReactiveOptions<Item>): ReactiveArray<Item>;
160
-
161
- export {};
@@ -1,81 +0,0 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
3
- export type GenericCallback = (...args: any[]) => any;
4
- declare class Effect {
5
- private readonly $mora;
6
- private readonly state;
7
- constructor(callback: GenericCallback);
8
- }
9
- export type ComputedEffect = {
10
- dirty: boolean;
11
- instance: Effect;
12
- };
13
- export type InternalComputed = {
14
- readonly effect: ComputedEffect;
15
- readonly state: ReactiveState<unknown, unknown>;
16
- };
17
- export declare let activeComputed: Computed<unknown> | undefined;
18
- export declare class Computed<Value> extends Reactive<Value> {
19
- private readonly effect;
20
- constructor(callback: () => Value, options?: ReactiveOptions<Value>);
21
- /**
22
- * @inheritdoc
23
- */
24
- get(): Value;
25
- }
26
- /**
27
- * Create a computed value
28
- */
29
- export declare function computed<Value>(callback: () => Value, options?: ReactiveOptions<Value>): Computed<Value>;
30
- declare abstract class Reactive<Value, Equal = Value> {
31
- protected readonly state: ReactiveState<Value, Equal>;
32
- constructor(name: string, value: Value, options?: ReactiveOptions<Equal>);
33
- /**
34
- * Get the value
35
- */
36
- abstract get(): Value;
37
- /**
38
- * Get the value _(without reactivity)_
39
- */
40
- peek(): Value;
41
- /**
42
- * Subscribe to changes
43
- */
44
- subscribe(callback: (value: Value) => void): Unsubscribe;
45
- /**
46
- * JSON representation of the value
47
- */
48
- toJSON(): Value;
49
- /**
50
- * String representation of the value
51
- */
52
- toString(): string;
53
- /**
54
- * Unsubscribe from changes
55
- */
56
- unsubscribe(callback: (value: Value) => void): void;
57
- }
58
- export type ReactiveOptions<Value> = {
59
- /**
60
- * Method to compare values for equality
61
- */
62
- equal?: (first: Value, second: Value) => boolean;
63
- };
64
- export type ReactiveState<Value, Equal> = {
65
- computeds: Set<Computed<unknown>>;
66
- effects: Set<Effect>;
67
- equal: (first: Equal, second: Equal) => boolean;
68
- subscriptions: Map<GenericCallback, Subscription>;
69
- value: Value;
70
- };
71
- declare class Subscription {
72
- state: ReactiveState<unknown, never>;
73
- callback: GenericCallback;
74
- constructor(state: ReactiveState<unknown, never>, callback: GenericCallback);
75
- }
76
- /**
77
- * Unsubscribe from changes
78
- */
79
- export type Unsubscribe = () => void;
80
-
81
- export {};
@@ -1,68 +0,0 @@
1
- // Generated by dts-bundle-generator v9.5.1
2
-
3
- export type GenericCallback = (...args: any[]) => any;
4
- declare class Effect {
5
- private readonly $mora;
6
- private readonly state;
7
- constructor(callback: GenericCallback);
8
- }
9
- declare class Computed<Value> extends Reactive<Value> {
10
- private readonly effect;
11
- constructor(callback: () => Value, options?: ReactiveOptions<Value>);
12
- /**
13
- * @inheritdoc
14
- */
15
- get(): Value;
16
- }
17
- export declare abstract class Reactive<Value, Equal = Value> {
18
- protected readonly state: ReactiveState<Value, Equal>;
19
- constructor(name: string, value: Value, options?: ReactiveOptions<Equal>);
20
- /**
21
- * Get the value
22
- */
23
- abstract get(): Value;
24
- /**
25
- * Get the value _(without reactivity)_
26
- */
27
- peek(): Value;
28
- /**
29
- * Subscribe to changes
30
- */
31
- subscribe(callback: (value: Value) => void): Unsubscribe;
32
- /**
33
- * JSON representation of the value
34
- */
35
- toJSON(): Value;
36
- /**
37
- * String representation of the value
38
- */
39
- toString(): string;
40
- /**
41
- * Unsubscribe from changes
42
- */
43
- unsubscribe(callback: (value: Value) => void): void;
44
- }
45
- export type ReactiveOptions<Value> = {
46
- /**
47
- * Method to compare values for equality
48
- */
49
- equal?: (first: Value, second: Value) => boolean;
50
- };
51
- export type ReactiveState<Value, Equal> = {
52
- computeds: Set<Computed<unknown>>;
53
- effects: Set<Effect>;
54
- equal: (first: Equal, second: Equal) => boolean;
55
- subscriptions: Map<GenericCallback, Subscription>;
56
- value: Value;
57
- };
58
- declare class Subscription {
59
- state: ReactiveState<unknown, never>;
60
- callback: GenericCallback;
61
- constructor(state: ReactiveState<unknown, never>, callback: GenericCallback);
62
- }
63
- /**
64
- * Unsubscribe from changes
65
- */
66
- export type Unsubscribe = () => void;
67
-
68
- export {};