Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to ts-proto 1.165.0 to fix tsc compile error #386

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jakewins
Copy link

The current version has an issue that makes it generate typescript that no longer compiles properly:

src/gen/google/protobuf/timestamp.ts:2:23 - error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.

2 import * as Long from "long";

This error originates from this file in ts-proto: https://github.com/stephenh/ts-proto/blob/v1.138.0/integration/simple/google/protobuf/timestamp.ts

And is fixed in the 1.165.0 version of the same file: https://github.com/stephenh/ts-proto/blob/v1.165.0/integration/simple/google/protobuf/timestamp.ts

The current version has an issue that makes it generate typescript that no longer compiles properly:

```
src/gen/google/protobuf/timestamp.ts:2:23 - error TS2497: This module can only be referenced with ECMAScript imports/exports by turning on the 'esModuleInterop' flag and referencing its default export.

2 import * as Long from "long";
```

This error originates from this file in ts-proto: 
https://github.com/stephenh/ts-proto/blob/v1.138.0/integration/simple/google/protobuf/timestamp.ts

And is fixed in the 1.165.0 version of the same file:
https://github.com/stephenh/ts-proto/blob/v1.165.0/integration/simple/google/protobuf/timestamp.ts
@DocMarten
Copy link

ping @ido-namely

@ramykl
Copy link

ramykl commented Apr 11, 2024

Bump @ido-namely

@ramykl
Copy link

ramykl commented Apr 11, 2024

Closes #383 #384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants