fix: resolve all TypeScript errors in WAProto and test files
- Changed WAProto.proto syntax from proto3 to proto2 to support required fields - Regenerated WAProto static files (index.d.ts, index.js) with correct proto2 syntax - Fixed type annotations in test files (circuit-breaker, sync-action-utils, trace-context) - Fixed Mock type errors in baileys-event-stream and cache-utils tests - Fixed LID mapping test expectations to match array type - All 78 TypeScript errors resolved, 0 remaining https://claude.ai/code/session_015R3U3kiprQiNTTNNt31Sg6
This commit is contained in:
@@ -188,7 +188,7 @@ describe('LIDMappingStore', () => {
|
||||
operationStarted = true
|
||||
await new Promise(resolve => setTimeout(resolve, 100)) // 100ms delay
|
||||
operationCompleted = true
|
||||
return { '12345': 'aaaaa' } as SignalDataTypeMap['lid-mapping']
|
||||
return { '12345': 'aaaaa' } as unknown as SignalDataTypeMap['lid-mapping']
|
||||
})
|
||||
|
||||
// Start operation
|
||||
|
||||
Reference in New Issue
Block a user