Skip to content

Commit

Permalink
Fix import file name
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieMcKinstry committed Oct 6, 2022
1 parent 83109f8 commit 4119c0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/codegen/nodejs/gen.go
Expand Up @@ -1761,8 +1761,8 @@ func (ns *namespace) intoIOFiles(ctx *ioContext, parent string) ([]*ioFile, erro
var indexPath = path.Join(dirRoot, "index.ts")
var file = newIOFile(indexPath)
ctx.mod.genHeader(file.writer(), nil, nil, nil)
fmt.Fprintf(file.writer(), "export * from \"./%s\";\n", "input.ts")
fmt.Fprintf(file.writer(), "export * from \"./%s\";\n", "output.ts")
fmt.Fprintf(file.writer(), "export * from \"./%s\";\n", "input")
fmt.Fprintf(file.writer(), "export * from \"./%s\";\n", "output")
files = append(files, file)
}

Expand Down

0 comments on commit 4119c0e

Please sign in to comment.