We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd96a9b commit 88aead7Copy full SHA for 88aead7
index.d.ts
@@ -6,7 +6,7 @@ export declare class Component<T = {}> {
6
html: HyperTemplateFunction;
7
svg: HyperTemplateFunction;
8
state: T;
9
- defaultState: T;
+ readonly defaultState: T;
10
setState(state: Partial<T> | ((this: this, state: T) => Partial<T>)): void;
11
}
12
0 commit comments