fix: correct TypeScript types in top-level array declarations
#12365
+7
−12
array declarations
#12365