Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
kateinoigakukun merged 1 commit into
mainswiftwasm/JavaScriptKit:mainfrom
yt/skip-typechecksswiftwasm/JavaScriptKit:yt/skip-typechecksCopy head branch name to clipboard
Feb 3, 2026
Merged

TS2Swift: Skip type checks when translating TS -> Swift#567
kateinoigakukun merged 1 commit into
mainswiftwasm/JavaScriptKit:mainfrom
yt/skip-typechecksswiftwasm/JavaScriptKit:yt/skip-typechecksCopy head branch name to clipboard

Conversation

@kateinoigakukun

Copy link
Copy Markdown
Member

Close #512

@MaxDesiatov MaxDesiatov left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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
Copy Markdown
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: SwiftSyntax's BasicFormat usage in code generators takes too much time

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.