Skip to content

Commit

Permalink
Update README with protobufPackage note (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
haakonfp authored Jun 13, 2023
1 parent 3e4cbe0 commit 9901419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Generated code will be placed in the Gradle build directory.

(See [this issue](https://github.com/stephenh/ts-proto/issues/120#issuecomment-678375833) and [this issue](https://github.com/stephenh/ts-proto/issues/397#issuecomment-977259118) for discussions on `useOptional`.)

- With `--ts_proto_opt=exportCommonSymbols=false`, utility types like `DeepPartial` won't be `export`d.
- With `--ts_proto_opt=exportCommonSymbols=false`, utility types like `DeepPartial` and `protobufPackage` won't be `export`d.

This should make it possible to use create barrel imports of the generated output, i.e. `import * from ./foo` and `import * from ./bar`.

Expand Down

0 comments on commit 9901419

Please sign in to comment.