Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Commit 63eec98

Browse files
author
sam boyer
authored
Update generator.go
1 parent e286698 commit 63eec98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ func (g *generator) genInterface(name string, v cue.Value) []ts.Decl {
577577
// Recursively walk down Values returned from Expr() and separate
578578
// unified/embedded structs from a struct literal, so that we can make the
579579
// former (if they are also marked with @cuetsy(kind="interface")) show up
580-
// as "extends" instead of writing out their fields directly.
580+
// as "extends" instead of inlining their fields.
581581
func findExtends(v cue.Value) ([]ts.Expr, cue.Value, error) {
582582
var extends []ts.Expr
583583
// Create an empty value, onto which we'll unify fields that need not be

0 commit comments

Comments
 (0)