flyerhq/react-native-firebase-chat-core

View on GitHub
src/utils.ts

Summary

Maintainability
A
0 mins
Test Coverage

Consider simplifying this complex logical expression.
Wontfix

  if (data.lastMessages && data.lastMessages instanceof Array) {
    // type-coverage:ignore-next-line
    lastMessages = data.lastMessages.map((lm: any) => {
      // type-coverage:ignore-next-line
      const author = users.find((u) => u.id === lm.authorId) ?? {
Severity: Major
Found in src/utils.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status