caused by the TypeScipt TextMate grammar not supporting multi-line function typeparameters correctly
heres the repo https://github.com/microsoft/TypeScript-TmLanguage/issues
and a similar issue https://github.com/microsoft/TypeScript-TmLanguage/issues/1048
single line works correctly
type ABC = string;
export type Foo = {
extend<ABC extends string,> (): string;
};
export const A = 5;
multi-line broken
type ABC = string;
export type Foo = {
extend<
ABC extends string,
> (): string;
};
export const A = 5;