Input
export function aPrettyLongFunction(aRatherLongParamName: string | null): string[] {}
Expected Output
export function aPrettyLongFunction(
aRatherLongParamName: string | null
): string[] {}
Actual Output
export function aPrettyLongFunction(aRatherLongParamName: string | null): string[] {}
(interactive example)
Note that wrapping works when you replace null with number for example:
Input
export function aPrettyLongFunction(aRatherLongParamName: string | number): string[] {}
Correct Output
export function aPrettyLongFunction(
aRatherLongParamName: string | number
): string[] {}
(interactive example)
Input
Expected Output
Actual Output
(interactive example)
Note that wrapping works when you replace
nullwithnumberfor example:Input
Correct Output
(interactive example)