Skip to content

Support for FieldOptions.JSType #958

Closed
Closed
@beyers-luno

Description

Reference: https://protobuf.dev/reference/java/api-docs/com/google/protobuf/DescriptorProtos.FieldOptions.JSType

Hi!

In my proto file I have:

int64 foobar = 3 [jstype = JS_STRING];

In my generated ts file I get:

foobar: number;

Using the arguments:

--ts_proto_opt=onlyTypes=true

It should be this?

foobar: string;

Is there a configuration setting I am missing?

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions