You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On windows, generated definitions are created with backslashes as opposed to forward slashes:
importtype{MyType}from"..\\my\\windows\\path";// should be:importtype{MyType}from"../my/windows/path";
Rust and typescript are smart enough to handle unix paths, and the difference creates some noise when working across windows and os x environments. Note: I believe this only happens when the dependency includes "..". It seems like there's a migration to a new path api in the works, so that might address this.
The text was updated successfully, but these errors were encountered:
Thanks for opening an issue for this.
I've been aware of this, but since it doesn't break anything & Windows use is pretty rare this hasn't been fixed yet.
I do agree though - the generated files should be reproducible across platforms.
On windows, generated definitions are created with backslashes as opposed to forward slashes:
Rust and typescript are smart enough to handle unix paths, and the difference creates some noise when working across windows and os x environments. Note: I believe this only happens when the dependency includes "..". It seems like there's a migration to a new path api in the works, so that might address this.
The text was updated successfully, but these errors were encountered: