manekinekko / manekinekko/angular-web-bluetooth
Example does not work: MergeMap Errors
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 199
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
Example 2.b) generates the following error message when copied to the Angular project:
> Argument of type 'OperatorFunction' is not assignable to parameter of type 'OperatorFunction'.
> Type 'void | BluetoothRemoteGATTCharacteristic' is not assignable to type 'BluetoothRemoteGATTCharacteristic'.
> Type 'void' is not assignable to type 'BluetoothRemoteGATTCharacteristic'.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Example 2.b) and reproduce it in an Angular project using the reported TypeScript error. Trace the mergeMap example's inferred types and confirm that the corrected example compiles without the void-versus-BluetoothRemoteGATTCharacteristic error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100