Skip to content

Commit

Permalink
Update generator.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sam boyer authored Feb 11, 2023
1 parent e286698 commit 63eec98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ func (g *generator) genInterface(name string, v cue.Value) []ts.Decl {
// Recursively walk down Values returned from Expr() and separate
// unified/embedded structs from a struct literal, so that we can make the
// former (if they are also marked with @cuetsy(kind="interface")) show up
// as "extends" instead of writing out their fields directly.
// as "extends" instead of inlining their fields.
func findExtends(v cue.Value) ([]ts.Expr, cue.Value, error) {
var extends []ts.Expr
// Create an empty value, onto which we'll unify fields that need not be
Expand Down

0 comments on commit 63eec98

Please sign in to comment.