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
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ function deepFreezeAndThrowOnMutationInDev<T extends {...} | Array<unknown>>(
return object;
}

/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's
* LTI update could not be added via codemod */
function throwOnImmutableMutation(key: empty, value) {
function throwOnImmutableMutation(key: empty, value: unknown) {
throw Error(
'You attempted to set the key `' +
key +
Expand Down
Loading