diff --git a/src/profile-logic/profile-data.ts b/src/profile-logic/profile-data.ts index 1d3fef2b3e..db9a3fbbe7 100644 --- a/src/profile-logic/profile-data.ts +++ b/src/profile-logic/profile-data.ts @@ -85,7 +85,7 @@ import type { CallTreeSummaryStrategy, EventDelayInfo, ThreadsKey, - resourceTypeEnum, + ResourceTypeEnum, MarkerPayload, Address, AddressProof, @@ -2822,7 +2822,7 @@ export function getThreadProcessDetails( function _shouldShowBothOriginAndFileName( fileName: string, origin: string, - resourceType: resourceTypeEnum | null + resourceType: ResourceTypeEnum | null ): boolean { // If the origin string is just a URL prefix that's part of the // filename, it doesn't add any useful information, so only show diff --git a/src/types/profile.ts b/src/types/profile.ts index 23503ce928..645b21779e 100644 --- a/src/types/profile.ts +++ b/src/types/profile.ts @@ -17,7 +17,7 @@ export type IndexIntoLibs = number; export type IndexIntoNativeSymbolTable = number; export type IndexIntoCategoryList = number; export type IndexIntoSubcategoryListForCategory = number; -export type resourceTypeEnum = number; +export type ResourceTypeEnum = number; export type ThreadIndex = number; // The Tid is most often a number. However in some cases such as merged profiles // we could generate a string. @@ -370,7 +370,7 @@ export type ResourceTable = { lib: Array; name: Array; host: Array; - type: resourceTypeEnum[]; + type: ResourceTypeEnum[]; }; /**