We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b899d2d + 7978db5 commit b26fc6fCopy full SHA for b26fc6f
index.d.ts
@@ -8,7 +8,7 @@ export declare class Component<T = {}> {
8
html: WiredTemplateFunction;
9
svg: WiredTemplateFunction;
10
state: T;
11
- readonly defaultState: T;
+ get defaultState(): T;
12
setState(state: Partial<T> | ((this: this, state: T) => Partial<T>), render?: boolean): this;
13
dispatch(type: string, detail?: any): boolean;
14
}
@@ -32,7 +32,7 @@ export declare const hyper: {
32
33
// hyper('html')`HTML`
34
(type: 'html' | 'svg'): WiredTemplateFunction;
35
-
+
36
// hyper(element)`HTML`
37
<T extends Element>(element: T): BoundTemplateFunction<T>;
38
0 commit comments