Why is the codegen importing a js file instead of a ts file?

This issue has been tracked since 2023-02-28.
Require stack:
  proto/gen/devinternal_connect.ts
  src/connect/connect.ts
  src/connect/server.test.ts

  4 | // @ts-nocheck
  5 |
> 6 | import { GetDeltasRequest, GetDeltasResponse, GetSnapshotResponse, Path, UpsertRequest } from "./devinternal_pb.js";
    | ^
  7 | import { Empty, MethodKind } from "@bufbuild/protobuf";
  8 |
  9 | /**
unicomp23 wrote this answer on 2023-02-28

should it be asking for devinternal_pb.js instead?

unicomp23 wrote this answer on 2023-02-28

I tried to pass import_extensionjs flag in buf opt(s), wouldn't let me.

unicomp23 wrote this answer on 2023-02-28

@timostamm should I use twirp in the meantime?

unicomp23 wrote this answer on 2023-02-28

doh, nevermind. I had a space in the opt list. It works now, good2go.

More Details About Repo
Owner Name bufbuild
Repo Name connect-es
Full Name bufbuild/connect-es
Language TypeScript
Created Date 2022-02-16
Updated Date 2023-03-24
Star Count 852
Watcher Count 20
Fork Count 33
Issue Count 17

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date