Skip to content

TS2Swift: Skip type checks when translating TS -> Swift#567

Merged
kateinoigakukun merged 1 commit intomainfrom
yt/skip-typechecks
Feb 3, 2026
Merged

TS2Swift: Skip type checks when translating TS -> Swift#567
kateinoigakukun merged 1 commit intomainfrom
yt/skip-typechecks

Conversation

@kateinoigakukun
Copy link
Member

Close #512

Copy link
Member

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kateinoigakukun kateinoigakukun merged commit bc61038 into main Feb 3, 2026
11 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/skip-typechecks branch February 3, 2026 16:36
return ts.createProgram(roots, options, host);
return ts.createProgram(roots, {
...options,
noCheck: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I locally verified CLI invocation works much faster but still not enough on Web?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the web it's not just hanging, but also displaying Error generating code: BridgeJSLinkError(message: "Void can\'t appear in parameters of imported JS functions"). I've also seen this in CLI previously. Definitely worth adding a test case for something like export function getCanvas(x: string): HTMLCanvasElement; used in that sample

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.

BridgeJS hangs then produces errors for DOM types

2 participants