mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
@@ -0,0 +1,37 @@
|
||||
/// <reference path="fourslash.ts" />
|
||||
|
||||
//// z$ = this.store.select(this.fake())
|
||||
//// .ofType(
|
||||
//// 'ACTION',
|
||||
//// 'ACTION-2'
|
||||
//// )
|
||||
//// .pipe(
|
||||
//// filter(x => !!x),
|
||||
//// switchMap(() =>
|
||||
//// this.store.select(this.menuSelector.getAll('x'))
|
||||
//// .pipe(
|
||||
//// tap(x => {
|
||||
//// this.x = !x;
|
||||
//// })
|
||||
//// )
|
||||
//// )
|
||||
//// );
|
||||
|
||||
format.document();
|
||||
verify.currentFileContentIs(`z$ = this.store.select(this.fake())
|
||||
.ofType(
|
||||
'ACTION',
|
||||
'ACTION-2'
|
||||
)
|
||||
.pipe(
|
||||
filter(x => !!x),
|
||||
switchMap(() =>
|
||||
this.store.select(this.menuSelector.getAll('x'))
|
||||
.pipe(
|
||||
tap(x => {
|
||||
this.x = !x;
|
||||
})
|
||||
)
|
||||
)
|
||||
);`
|
||||
);
|
||||
Reference in New Issue
Block a user