src/hooks/useSubmit.ts:103:11 - error TS7034: Variable 'messageQueue' implicitly has type 'any[]' in some locations where its type cannot be determined.
103 let messageQueue = [];
~~~~~~~~~~~~
src/hooks/useSubmit.ts:108:34 - error TS7005: Variable 'messageQueue' implicitly has an 'any[]' type.
108 let messageContent = messageQueue.shift();
~~~~~~~~~~~~
src/hooks/useSubmit.ts:130:33 - error TS7006: Parameter 'stream' implicitly has an 'any' type.
130 async function readStream(stream) {
~~~~~~
Found 3 errors in the same file, starting at: src/hooks/useSubmit.ts:103
This won't build because types are missing.