Skip to content

Commit

Permalink
Flow: well_formed_exports for devtools (#25266)
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens authored Sep 15, 2022
1 parent 0b54e00 commit fc16293
Show file tree
Hide file tree
Showing 50 changed files with 323 additions and 190 deletions.
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/src/Logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const logEvent: LogFunction =
}
: function logEvent() {};

export const registerEventLogger =
export const registerEventLogger: (logFunction: LogFunction) => () => void =
enableLogger === true
? function registerEventLogger(logFunction: LogFunction): () => void {
if (enableLogger) {
Expand Down
Loading

0 comments on commit fc16293

Please sign in to comment.