From 9825e7ca726335881dbbc9b0532ce2a7a207b609 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 1 Dec 2021 11:17:40 -0500 Subject: [PATCH] ref(integrations): Make ReportTypes a const enum `ReportTypes` is an interally used enum, so we do not need the runtime support. This helps save on bundle size. --- packages/integrations/src/reportingobserver.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/src/reportingobserver.ts b/packages/integrations/src/reportingobserver.ts index 2e4a457e04bf..4ae8f0f2d5c1 100644 --- a/packages/integrations/src/reportingobserver.ts +++ b/packages/integrations/src/reportingobserver.ts @@ -11,7 +11,7 @@ interface Report { } /** JSDoc */ -enum ReportTypes { +const enum ReportTypes { /** JSDoc */ Crash = 'crash', /** JSDoc */