Closed tsingson closed 1 year ago
If you want to write TypeScript with ECMAScript modules that works on Node.js and other environments, you have to use a .js
extension in import paths to .ts
files. See this lengthy explanation.
This is also reflected in the code we generate. You can change or remote the extension in generated import paths with this option if you prefer.
Describe the bug
in docs https://connect.build/docs/web/generating-code
import { SayRequest, SayResponse } from "./eliza_pb.js";
should be
or
Environment (please complete the following information):