mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Annotate empty arrays in xplat
Summary: Changelog: [Internal] Differential Revision: D40410427 fbshipit-source-id: f819fcb00673e19b21aecb383541850436805a0e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
cb2dcd327c
commit
a0ee6fae5e
@@ -47,7 +47,7 @@ export function validate(
|
||||
nativeViewConfig: ViewConfig,
|
||||
staticViewConfig: ViewConfig,
|
||||
): ValidationResult {
|
||||
const differences = [];
|
||||
const differences: Array<Difference> = [];
|
||||
accumulateDifferences(
|
||||
differences,
|
||||
[],
|
||||
|
||||
Reference in New Issue
Block a user