Skip to content

Usage of Generics does not compile with tsc #33

@kpfeuffer

Description

@kpfeuffer

When compiling a C#-dll, in which Generics are used for accessing (for example) an object's properties, the tsc-Compiler throws an error for the generated ts-file.

In my case, this happened for using an Optional in C#, which looked like this

Optional<DateTime>.None

and looked like this in the ts-file

Optional<DateTime>.None

which couldn't be compiled by tsc.

It should compile to Option.None to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions