Skip to content

Compile to Typescript? #217

@goswinr

Description

@goswinr

Should Toth.Json compile with dotnet fable --lang typescript to valid typescript?
I currently get this error when invoking tsc on the result. (fable 5.0.0-alpha.4)
image
If this is complicated to fix, I would also be happy to use a less generic workaround like sugested in #202 in my on fork.

Background: I am trying to compile my F# to TS only, so that it integrates nicely into a larger Angular App.
My domain model runs on .NET and Browser. Yes, Fable is amazing !
And Thot.Json allows me to de- and serialize on .NET and Browser with the same code. Amazing!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions