-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
I guess it was resolved, but now come back.
Similar issue marked as resolved: #4171
Prettier 1.15.3
Playground link
--parser typescriptInput:
const isAnySuccessfulAttempt$: Observable<boolean> = this._quizService.isAnySuccessfulAttempt$().pipe(
tap((isAnySuccessfulAttempt: boolean) => {
this.isAnySuccessfulAttempt = isAnySuccessfulAttempt;
}),
);Output:
const isAnySuccessfulAttempt$: Observable<
boolean
> = this._quizService.isAnySuccessfulAttempt$().pipe(
tap((isAnySuccessfulAttempt: boolean) => {
this.isAnySuccessfulAttempt = isAnySuccessfulAttempt;
})
);Expected behavior:
const isAnySuccessfulAttempt$: Observable<boolean> =
this._quizService.isAnySuccessfulAttempt$().pipe(
tap((isAnySuccessfulAttempt: boolean) => {
this.isAnySuccessfulAttempt = isAnySuccessfulAttempt;
})
);dmytro-muratov, bolelamx, batareechka and osavelieva
Metadata
Metadata
Assignees
Labels
lang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.