Skip to content

Commit

Permalink
fix: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinkim committed May 30, 2024
1 parent ec29972 commit 670a188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/typescript/generator/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export const {0} = (
name: EventName.{2},
params,
});
}`,
};`,
strcase.LowerCamelCase(typeName),
typeType,
typeName,
Expand Down Expand Up @@ -224,7 +224,7 @@ func (p *Package) renderStruct(obj types.Object, typeName string, t *types.Struc

if typeFields.Len() == 0 {
p.code.Body().Tprintn(`
export type {0} = {1}`,
export type {0} = {1};`,
p.tsDecl(obj.Type()),
"{}",
)
Expand Down

0 comments on commit 670a188

Please sign in to comment.