fix: syntax error during compilation
This commit is contained in:
parent
790f9586de
commit
fc79e9353b
1 changed files with 2 additions and 2 deletions
|
|
@ -81,14 +81,14 @@ const withDependencies_ = createFilterGenerator<Parameters<WithDependencies>>(
|
|||
) as WithDependencies
|
||||
|
||||
export const withDependencies = __DEV__
|
||||
? ((<T>(deps: ComparableDependencyMap) => {
|
||||
? (((deps: ComparableDependencyMap) => {
|
||||
// Warn about using undefined in deps, which is likely a mistake
|
||||
for (let i = 0; i < deps.length; i++) {
|
||||
if (deps[i] === undefined)
|
||||
DEBUG_warnBadWithDependenciesFilter(deps, i)
|
||||
}
|
||||
|
||||
return withDependencies_<T>(deps)
|
||||
return withDependencies_(deps)
|
||||
}) as WithDependencies)
|
||||
: withDependencies_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue