Skip to content

Commit

Permalink
disable type checking for added functions
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jan 27, 2021
1 parent 0f58f40 commit 3cdd353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-devtools-shared/src/backend/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ export function attach(
);
}

function didHookChange(prev: Hook, next: Hook): boolean {
function didHookChange(prev: any, next: any): boolean {
const prevMemoizedState = prev.memoizedState;
const nextMemoizedState = next.memoizedState;

Expand Down

0 comments on commit 3cdd353

Please sign in to comment.