Skip to content

Allow TS to be used for FFI modules#15

Open
noisyscanner wants to merge 4 commits intomasterfrom
brad/ffi-exts
Open

Allow TS to be used for FFI modules#15
noisyscanner wants to merge 4 commits intomasterfrom
brad/ffi-exts

Conversation

@noisyscanner
Copy link
Member

@noisyscanner noisyscanner commented Dec 1, 2025

So that we can use TypeScript in FFI files. Currently we have to write JSDoc which is a nuisance, especially when we use TS elsewhere.
Since the output/ gets passed to a bundler anyway, it's ok if this dir contains TS - the Purs compiler simply copies it, no need for it to be concerned with TS transpilation itself.

This PR is into the OA fork at the moment, but this may be possible to merge upstream. This solution is based off what Nate said on Discord. Wouldn't hold my breath for that though, it would be great if OA could use it in the meantime.

@noisyscanner noisyscanner force-pushed the brad/ffi-exts branch 3 times, most recently from 409c7a1 to 9de6469 Compare December 2, 2025 21:25
@noisyscanner noisyscanner marked this pull request as ready for review March 18, 2026 07:08
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