TypeScript/tests/cases/fourslash/formattingChainingMethods.ts
2018-03-05 16:15:08 -08:00

46 lines
968 B
TypeScript

/// <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;
//// })
//// )
//// )
//// );
////
////1
//// .toFixed(
//// 2);
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;
})
)
)
);
1
.toFixed(
2);`
);