Skip to content

Commit 4cf6c3b

Browse files
committed
type added for react GA evnt
1 parent 3438925 commit 4cf6c3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/app/details/appDetails/constants.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17+
import ReactGA from 'react-ga4'
18+
1719
export const APP_METRICS_CALENDAR_INPUT_DATE_FORMAT = 'DD-MM-YYYY hh:mm:ss'
1820

19-
export const DA_APP_DETAILS_GA_EVENTS = {
21+
export const DA_APP_DETAILS_GA_EVENTS: Record<string, Parameters<typeof ReactGA.event>[0]> = {
2022
DeployButtonClicked: {
2123
category: 'App Details',
2224
action: 'DA_APP_DETAIL_DEPLOY',

0 commit comments

Comments
 (0)