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.
1 parent 4de2d69 commit ec910ccCopy full SHA for ec910cc
src/widgets.ts
@@ -17,7 +17,6 @@ type DocumentChangedEvent = any
17
type Receiver = any
18
type Fragment = any
19
type HasProps = any
20
-type Ref = any
21
22
const { keys, values } = Object
23
@@ -29,6 +28,10 @@ export type RenderBundle = {
29
28
div: string
30
}
31
+export interface Ref {
32
+ id: string
33
+}
34
+
35
export interface DocumentChanged {
36
event: 'jsevent'
37
kind: string
@@ -37,7 +40,7 @@ export interface DocumentChanged {
40
export interface ModelChanged extends DocumentChanged {
38
41
39
42
kind: 'ModelChanged'
- id: string
43
+ model: Ref
44
new: unknown
45
attr: string
46
0 commit comments