Skip to content

Commit f954d2f

Browse files
authored
Type update for enhanced ecommerce params (#2794)
* change type of index from string to number * [AUTOMATED]: License Headers
1 parent 1eada4e commit f954d2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/analytics-types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @license
3-
* Copyright 2019 Google Inc.
3+
* Copyright 2019 Google LLC
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
66
* you may not use this file except in compliance with the License.
@@ -206,7 +206,7 @@ export interface Item {
206206
item_variant?: string;
207207
price?: Currency;
208208
quantity?: number;
209-
index?: string;
209+
index?: number;
210210
coupon?: string;
211211
item_list_name?: string;
212212
item_list_id?: string;

packages/firebase/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5050,7 +5050,7 @@ declare namespace firebase.analytics {
50505050
item_variant?: string;
50515051
price?: Currency;
50525052
quantity?: number;
5053-
index?: string;
5053+
index?: number;
50545054
coupon?: string;
50555055
item_list_name?: string;
50565056
item_list_id?: string;

0 commit comments

Comments
 (0)