Annotate empty arrays in xplat

Summary: Changelog: [Internal]

Differential Revision: D40410427

fbshipit-source-id: f819fcb00673e19b21aecb383541850436805a0e
This commit is contained in:
Sam Zhou authored and Facebook GitHub Bot committed 2022-10-17 12:40:57 -07:00
1 parent cb2dcd327c
commit a0ee6fae5e
15 files changed
+27 -23

No files matched your search

+1 -1
View File
@@ -317,7 +317,7 @@ export function parseLogBoxLog(args: $ReadOnlyArray<mixed>): {|
message: Message,
|} {
const message = args[0];
let argsWithoutComponentStack = [];
let argsWithoutComponentStack: Array<mixed> = [];
let componentStack: ComponentStack = [];
// Extract component stack from warnings like "Some warning%s".