Skip to content
Closed
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
6 changes: 3 additions & 3 deletions packages/react-native/flow/bom.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ declare class PerformanceEntry {
entryType: string;
name: string;
startTime: DOMHighResTimeStamp;
toJSON(): string;
toJSON(): {[string]: unknown};
}

// https://w3c.github.io/user-timing/#performancemark
Expand All @@ -127,7 +127,7 @@ declare class PerformanceServerTiming {
description: string;
duration: DOMHighResTimeStamp;
name: string;
toJSON(): string;
toJSON(): {[string]: unknown};
}

// https://www.w3.org/TR/resource-timing-2/#sec-performanceresourcetiming
Expand Down Expand Up @@ -224,7 +224,7 @@ declare class Performance {
endMark?: string,
): PerformanceMeasure;
now(): DOMHighResTimeStamp;
toJSON(): string;
toJSON(): {[string]: unknown};
}

declare var performance: Performance;
Expand Down
Loading