Skip to content

feat(protobuf-rpc): init #1

feat(protobuf-rpc): init

feat(protobuf-rpc): init #1

GitHub Actions / Lint failed Jan 22, 2025 in 0s

Errors 6, Warnings 0

Found 6 errors and 0 warnings

Annotations

Check failure on line 10 in packages/protobuf-rpc/src/logical-error.utils.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unsafe-return): Unsafe return of a value of type error.

Unsafe return of a value of type error.
Raw output
   7 |
   8 |   if (Array.isArray(details)) {
>  9 |     return details
     |     ^
  10 |       .filter((detail) => detail.type === LogicalError.typeName)
  11 |       .map((detail) => LogicalError.fromBinary(detail.value))
  12 |       .at(0)

Check failure on line 12 in packages/protobuf-rpc/src/logical-error.utils.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unsafe-return): Unsafe return of a value of type error.

Unsafe return of a value of type error.
Raw output
   9 |     return details
  10 |       .filter((detail) => detail.type === LogicalError.typeName)
> 11 |       .map((detail) => LogicalError.fromBinary(detail.value))
     |                        ^
  12 |       .at(0)
  13 |   }
  14 |

Check failure on line 12 in packages/protobuf-rpc/src/logical-error.utils.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unsafe-call): Unsafe call of a(n) `error` type typed value.

Unsafe call of a(n) `error` type typed value.
Raw output
   9 |     return details
  10 |       .filter((detail) => detail.type === LogicalError.typeName)
> 11 |       .map((detail) => LogicalError.fromBinary(detail.value))
     |                        ^
  12 |       .at(0)
  13 |   }
  14 |

Check failure on line 10 in packages/protobuf-rpc/src/validation-error.utils.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unsafe-return): Unsafe return of a value of type `any[]`.

Unsafe return of a value of type `any[]`.
Raw output
   7 |
   8 |   if (Array.isArray(details)) {
>  9 |     return details
     |     ^
  10 |       .filter((detail) => detail.type === ValidationError.typeName)
  11 |       .map((detail) => ValidationError.fromBinary(detail.value))
  12 |   }

Check failure on line 12 in packages/protobuf-rpc/src/validation-error.utils.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unsafe-return): Unsafe return of a value of type error.

Unsafe return of a value of type error.
Raw output
   9 |     return details
  10 |       .filter((detail) => detail.type === ValidationError.typeName)
> 11 |       .map((detail) => ValidationError.fromBinary(detail.value))
     |                        ^
  12 |   }
  13 |
  14 |   return []

Check failure on line 12 in packages/protobuf-rpc/src/validation-error.utils.ts

See this annotation in the file changed.

@github-actions github-actions / Lint

(@typescript-eslint/no-unsafe-call): Unsafe call of a(n) `error` type typed value.

Unsafe call of a(n) `error` type typed value.
Raw output
   9 |     return details
  10 |       .filter((detail) => detail.type === ValidationError.typeName)
> 11 |       .map((detail) => ValidationError.fromBinary(detail.value))
     |                        ^
  12 |   }
  13 |
  14 |   return []