Skip to content

Commit 1e98bab

Browse files
authored
reformat
1 parent 1be0b43 commit 1e98bab

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/build/patches.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,7 @@ function handleTypeParameters(value: Value | Node) {
6868
return {};
6969
}
7070
if (typeof value === "string") {
71-
return {
72-
typeParameters: [
73-
{
74-
name: string(value),
75-
},
76-
],
77-
};
71+
return { typeParameters: [{ name: value }] };
7872
}
7973
const node = value as Node;
8074
return {

0 commit comments

Comments
 (0)