Return argument not colored properly if multiline
alexr00 opened this issue · 0 comments
alexr00 commented
Type: Bug
When putting this into a TypeScript file:
type MyType<T> = { func: T };
function AFunction<T>(arg: T): MyType<T> {
return { func: arg };
}
const x = AFunction<(arg: string) => unknown>(() => {});
const y = AFunction<
(arg: string) => unknown
>(() => {});
The first unknown is colored but the second unknown is not for some reason.
Originally posted by @PythonCoderAS in microsoft/vscode#199861