Comments (3)
I also run into this when trying to publish generated TS as an NPM package. I've worked around it by just deleting that file before compiling, since I don't actually need it.
from ts-proto.
Ah sorry about that, turns out proto2 can have enums that don't have 0 in them. I've pushed out a release with a work around. Thanks for the report!
from ts-proto.
Thanks!
from ts-proto.
Related Issues (20)
- What is a modern protoc? HOT 4
- Remove enum prefix from strings also HOT 1
- [FeatureRequest] Have option to generate completed object with nested object HOT 4
- bigints allow type overflow when encoding HOT 5
- A `map<bool, bool>` field generates invalid TS HOT 1
- Array message type generates invalid code on account of name collision. HOT 8
- Use bigint literals instead of BigInt constructor. HOT 5
- Compiling generated code causes a heap overflow with tsc HOT 1
- toJSON methods don't respect useDate=false HOT 7
- protoc-gen-ts: program not found or is not executable HOT 1
- Cannot find name 'I'. - when passing opts: --ts_proto_opt="outputServices=generic-definitions,outputServices=default" HOT 4
- Add support for bigint in maps
- Enhancement: `json_name` defined in a proto file should be able to be extracted. HOT 1
- Configurability of the unrecognized enum type HOT 3
- Compilation error when combining `useOptionals=all` with `forceLong=long` HOT 1
- Support Values as service return values HOT 2
- Generate google.api.http-based clients HOT 5
- Is there an example of how to use the grpc-web implementation? HOT 1
- Type error in field_mask.ts when outputServices=grpc-js and useOptionals=all HOT 3
- Support for FieldOptions.JSType HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts-proto.