Skip to content

bug(codegen): missing , when generating type parameters with jsx #7917

@camc314

Description

@camc314

Playground link

input:

const genericFn = <T,>(foo: T) => {
	type Bar = {};
};

output:

const genericFn = <T>(foo: T) => {
	type Bar = {};
};

expected output:

const genericFn = <T,>(foo: T) => {
	type Bar = {};
};

Metadata

Metadata

Assignees

Labels

C-bugCategory - Bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions