Skip to content

How to test fable-library-ts ? #4368

@goswinr

Description

@goswinr

How can I test fable-library-ts ?
By running tsc in its folder?

@MangelMaxime I am picking up on thoth-org/Thoth.Json#217 and #3586

Is it possible that fable-library-ts compiles with tsc only for Node but not for the browser?

For example this line fails to compile because TS doesn't know what Buffer is in a browser context.

Image

Could I manually just edit these fable-library-ts files so that tsc works?

(I found some context here: #3420 )

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