Skip to content

Add noResolve option to TypeScript compiler options - #741

Open
vancez wants to merge 1 commit into
timostamm:mainfrom
vancez:main
Open

Add noResolve option to TypeScript compiler options#741
vancez wants to merge 1 commit into
timostamm:mainfrom
vancez:main

Conversation

@vancez

@vancez vancez commented Jan 21, 2026

Copy link
Copy Markdown

src/test.proto

syntax = "proto3";

package test.v1;

service View {
    rpc View(ViewReq) returns (ViewReply);
}

message ViewReply {
    // 
    int64 id = 1;
}

message ViewReq {
    // 
    int64 id = 1;
}

protoc --ts_out ./ --ts_opt generate_dependencies,long_type_string,output_javascript --proto_path ./src ./src/test.proto
Using the above command will generate the following files:

test.client.d.ts
test.client.js
test.d.ts
test.js

If you change the id field to id2 and then run the command again, the test.d.ts file will not be modified.
If the noResolve option is enabled, test.d.ts will be generated correctly.

This issue only occurs on Windows; there is no such problem on Linux or macOS.

@nielsvaneck

Copy link
Copy Markdown

I'm also seeing this issue on MacOS

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.

2 participants