Skip to content

Commit

Permalink
🤖 Merge PR DefinitelyTyped#71281 chore: update types for ineum report…
Browse files Browse the repository at this point in the history
…Event by @aram-yesildeniz

Co-authored-by: e556778 <[email protected]>
  • Loading branch information
aram-yesildeniz and e556778 authored Nov 28, 2024
1 parent ddc56a4 commit a6e9e49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/ineum/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ declare function ineum(
): void;
declare function ineum(
command: "reportEvent",
name: string,
eventName: string,
opts?: {
duration?: number | undefined;
timestamp?: number | undefined;
Expand All @@ -49,6 +49,7 @@ declare function ineum(
meta?: {
[key: string]: string | number | boolean;
} | undefined;
customMetric?: number | undefined;
},
): void;

Expand Down
1 change: 1 addition & 0 deletions types/ineum/ineum-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ ineum("reportEvent", "log", {
meta: {
itemsInCart: 5,
},
customMetric: 123.2342,
});

// $ExpectType void
Expand Down

0 comments on commit a6e9e49

Please sign in to comment.