-
-
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
Prettier 1.19.0
Playground link
--parser typescriptInput:
export const getVehicleDescriptor = async (
vehicleId: string,
): Promise<
Collections.Parts.PrintedCircuitBoardAssembly['attributes'] | undefined
> => {}Output:
export const getVehicleDescriptor = async (
vehicleId: string
): Promise<| Collections.Parts.PrintedCircuitBoardAssembly["attributes"]
| undefined> => {};Expected behavior:
export const getVehicleDescriptor = async (
vehicleId: string,
): Promise<
| Collections.Parts.PrintedCircuitBoardAssembly['attributes']
| undefined
> => {}srubin
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.