Skip to content

pbts does not generate code with correct protobufjs version #1228

Open
@taylorcode

Description

@taylorcode

protobuf.js version: 6.8.8

Expected:
Using pbts with an input JS file that imports "protobufjs/minimal" should generate a .d.ts file with "protobufjs/minimal" imported.

Actual:
The .d.ts file imports from "protobufjs".

generated .js file

import * as $protobuf from "protobufjs/minimal";

generated .d.ts

import * as $protobuf from "protobufjs";

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions