Skip to content

Commit

Permalink
Stricter type for stopWorkLoopTimer args
Browse files Browse the repository at this point in the history
  • Loading branch information
flarnie committed Apr 2, 2018
1 parent 5875830 commit 477757c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactDebugFiberPerf.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export function startWorkLoopTimer(nextUnitOfWork: Fiber | null): void {

export function stopWorkLoopTimer(
interruptedBy: Fiber | null,
didCompleteRoot?: boolean,
didCompleteRoot: boolean,
): void {
if (enableUserTimingAPI) {
if (!supportsUserTiming) {
Expand Down

0 comments on commit 477757c

Please sign in to comment.