Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/profile-logic/profile-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ import type {
CallTreeSummaryStrategy,
EventDelayInfo,
ThreadsKey,
resourceTypeEnum,
ResourceTypeEnum,
MarkerPayload,
Address,
AddressProof,
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/types/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -370,7 +370,7 @@ export type ResourceTable = {
lib: Array<IndexIntoLibs | null>;
name: Array<IndexIntoStringTable>;
host: Array<IndexIntoStringTable | null>;
type: resourceTypeEnum[];
type: ResourceTypeEnum[];
};

/**
Expand Down