Skip to content

F# in a TypeScript Environment - Whats the state of Integration? #2853

Answered by alfonsogarciacaro
D1no asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @D1no! Sorry for the late reply. There's currently some support for Typescript compilation using the --typescript flag but it's still experimental and I think it still needs to work to be usable (I haven't personally worked in the feature). By default Fable doesn't output .d.ts type declarations. A while ago I wrote a plugin to generate a .d.ts declaration, originally intended to interact with Svelte, but it can be easily adapted to more general uses. I can do it if you're open to try it and report any bugs you notice.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@D1no
Comment options

Answer selected by D1no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants