question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lettable Operators support

See original GitHub issue

Please provide Lettable Operators support.

I use last 1.5.9 v. and this issue is still existing. To work without an error:

ERROR TypeError: this.tagInput.onTextChange.debounceTime is not a function
 ...

I have to make an additional imports by myself:

import 'rxjs/add/operator/map';
import 'rxjs/add/operator/filter';
import 'rxjs/add/operator/debounceTime';

I have just upgraded my app to Angular 5 and I am going to remove all operators like: import 'rxjs/add/operator/...'; and use Lettable Operators but I still want to use ngx-chips.

So my issue is fixing that and make ngx-chips up to date, because I really like this library and it is very comfortable in use. Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
j2d2commented, Dec 1, 2017

Works for me with RxJS 5.5.2 when I added to the component:

import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/operator/filter';

Thanks to @Gbuomprisco for this great lib!

1reaction
Gbuompriscocommented, Nov 7, 2017

For some reason = I forgot to add them to one of the files 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

RxJS: Understanding Lettable Operators - ncjamieson
Lettable operators offer a new way of composing observable chains and they have advantages for both application developers and library ...
Read more >
Lettable operators in RxJs - The art of simplicity
A lettable operator is basically any function that returns a function with the signature: <T, R>(source: Observable<T>) => Observable<R> . Euhm, ...
Read more >
RxJS, advice with lettable operators - Stack Overflow
I'm getting lost with the new lettable operators. I succeeded trying to use mergeMap : import { mergeMap } from 'rxjs/operators';.
Read more >
Pipeable/lettable operators are functions that are passed an ...
Pipeable/lettable operators are functions that are passed an observable and return an observable, so there's no source observable for the retry operator to ......
Read more >
RxJS lettable operators in TypeScript: no method suggestions : WEB ...
WEB-32336 [TypeScript] RxJS lettable operator - type inference support. 11 5. What steps will reproduce the problem? 1. Create a TypeScript project using ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found