I have to translate C#
app into TypeScript
. It goes pretty well, but I have a problem with that:
private SharpKit.JavaScript.JsObject<JsString, JsBoolean> _changedLayers = new SharpKit.JavaScript.JsObject<JsString, JsBoolean>();
Does anyone know how to convert this?
[edit]
Ok, I guess I should do something like this:
private _changedLayers: (String, Boolean) => Object;
But now I wonder how to initialize this object? I tried this, but doesn't work...
this._changedLayers = { String: new String(), Boolean: new Boolean() };