Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit dfa4d6d

Browse files
committed
fixed typo
1 parent 9dedafe commit dfa4d6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/src/runtime/observer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class Observer<ValueType = any> {
5353
*/
5454
constructor(
5555
agileInstance: Agile,
56-
config: CreateObserverConfigInterface = {}
56+
config: CreateObserverConfigInterface<ValueType> = {}
5757
) {
5858
config = defineConfig(config, {
5959
dependents: [],

packages/core/src/runtime/subscription/sub.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class SubController {
9999
config?: RegisterSubscriptionConfigInterface
100100
): {
101101
subscriptionContainer: SubscriptionContainer;
102-
props: { [key: string]: any };
102+
props: { [key: string]: Observer['value'] };
103103
};
104104
public subscribe(
105105
integrationInstance: any,
@@ -109,7 +109,7 @@ export class SubController {
109109
| SubscriptionContainer
110110
| {
111111
subscriptionContainer: SubscriptionContainer;
112-
props: { [key: string]: any };
112+
props: { [key: string]: Observer['value'] };
113113
} {
114114
config = defineConfig(config, {
115115
waitForMount: this.agileInstance().config.waitForMount,

0 commit comments

Comments
 (0)