Netjs icon indicating copy to clipboard operation
Netjs copied to clipboard

Compile .NET assemblies to TypeScript and JavaScript

Results 29 Netjs issues
Sort by recently updated
recently updated
newest added

The code: ``` int i = (int)3.14; ``` produces: ``` i = 3.14; ``` The truncation is lost.

bug

Currently there's no support for attribute translation.

I attempted the simplest possible F# compilation: ``` namespace FSharpTypes2 type Class1() = member this.X = "F#" ``` it fails with "Unknown JS constructor"

From a `private bool[,] Used;` source I get `private Used: boolean[,] = null;` result. That doesn't seem legit at all neither to me nor to `tsc`: `error TS1005: ']' expected.`

Hi, this is a question rather than a bug. I'm trying to use Netjs to automatically generate typescript versions of some c# class files. The first part works OK, I...

So I just stumbled onto your repo today. Since you made a C# to TypeScript transcompiler, I would love to see a C# to jTypes transcompiler! That's what I made...

enhancement

You note that Regex has some problems because it relies on the browser implementation. Have you considered a compiler switch to enable targeting XRegExp instead? From: Avi Levin

enhancement

If two overloads differ only in their arity (number of args), then we can skip the type checks.

enhancement

The function: ``` void f (RectangleF r) { r.Width = 100; } ``` Will overwrite values passed to it because the struct is being passed by reference. The struct should...

bug