Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit b6a5636

Browse files
Typings++
1 parent c3f9e9b commit b6a5636

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/analytics/analytics.d.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
export interface LogComplexEventParameter {
22
key: string;
33
value: any;
4-
type: string;
4+
/**
5+
* Default "string".
6+
*/
7+
type?: "string" | "array" | "double" | "float" | "int" | "long" | "number" | "boolean";
58
}
69

710
export interface LogEventParameter {
@@ -43,7 +46,8 @@ export interface LogComplexEventOptions {
4346
*
4447
* parameters: [{
4548
* key: "item_name",
46-
* value: "abc"
49+
* value: "abc",
50+
* type: "double"
4751
* }, ..]
4852
*/
4953
parameters?: Array<LogComplexEventParameter>;

0 commit comments

Comments
 (0)