Skip to content

Conversation

@gx0r
Copy link
Contributor

@gx0r gx0r commented Jul 25, 2025

I was running into an issue where a struct using a raw identifier like

 #[tsync]
 struct RawIdentifierStruct {
     r#type: String,
 }

would keep the r#type resulting in invalid TypeScript output, e.g.

export interface RawIdentifierStruct {
  r#type: string;
}

With this change,

export interface RawIdentifierStruct {
  type: string;
}

@Wulf Wulf merged commit 08e14c0 into Wulf:main Jul 27, 2025
2 checks passed
@Wulf
Copy link
Owner

Wulf commented Jul 27, 2025

Looks great, thanks @gx0r

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