protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

pbts doesn't handle JavaScript files ending in .cjs or .mjs

Open dynst opened this issue 5 months ago • 0 comments

pbts --name types file.mjs -o file.d.ts

just writes 1 line to file.d.ts:

There are no input files to process.

But these are fairly standard JavaScript file extensions that have been in use for years now.

dynst avatar Jul 10 '25 17:07 dynst