Skip to content

field typings for create #717

@masonk

Description

@masonk

protobuf.js version: 6.6

Thanks for a fantastic package. This is an enhancement request, something I would only make because I care!

I'm using protobufjs to generate TS definition files, but I've noticed that the various creation methods such as create, fromObject and new, aren't typed with the allowable fields. This is important to me, because those fields are exactly the ones that I want intellisense for.

Are there any plans to add this? If not, would you accept a patch for them? (Would you be willing to guide me if I commit to adding this patch?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions