Skip to content

Commit 85c4106

Browse files
committed
fix type
1 parent eeaa775 commit 85c4106

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/v8.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ declare class CSEvent {
138138
/**
139139
* Event-specific data.
140140
*/
141-
data: string;
141+
data?: any;
142142
/**
143143
* @param type The name of the event type.
144144
* @param scope The scope of event, can be "GLOBAL" or "APPLICATION".

src/v8.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class CSEvent {
127127
/**
128128
* Event-specific data.
129129
*/
130-
public data: string = "";
130+
public data?: any = "";
131131

132132
/**
133133
* @param type The name of the event type.

0 commit comments

Comments
 (0)