Loïc Denuzière
Loïc Denuzière
It would be really good to have a typed way to deserialize arbitrarily-shaped JSON. Here are options to consider: 1. The first possibility that comes to mind would be to...
It should be referenced for net461 framework, and obviously not for netstandard2.0.
For example, in `WebSharper.Control`, we are currently outputting the following: ```typescript export function New(Handlers:(T0)[]):DelegateEvent { // ... } ``` The `extends Function` constraint should only be present in the parameter...
Make a client-side function for all RPC-s, stored in a module corresponding to its server-side module. It should return a Promise type that is easily consumed from JavaScript or TypeScript.
``` FSC : WebSharper error : Assembly needed for bundling but is not referenced: WebSharper.SPA.Tests [c:\path\to\websharper\tests\WebSharper.SPA.Tests\WebSharper.SPA.Tests.fsproj] Unhandled Exception: System.NotSupportedException: Exception of type 'System.NotSupportedException' was thrown. at Microsoft.FSharp.Core.ExtraTopLevelOperators.dictValueType@98.System-Collections-Generic-IDictionary`2-Add(TKey key, T value)...
The following items are missing or mis-packaged in bundles with dead code elimination: * [ ] `WebSharper.ItemEnumerator` is missing * [ ] `ByRef
#820 proposed a TS representation of F# unions with a base class to contain the methods, a set of interfaces for each case, and the union type itself as `type...
[Failing test](https://github.com/intellifactory/websharper/blob/6d313843f161a5c1fd56af3f9e75ea184adf9acd/tests/WebSharper.Tests/Inheritance.fs#L67) This is what the above translates to (stripped to show the issue): ```typescript class ClassA { Z(x?:T0):T0 { return; } } class ClassB extends ClassA { Z(x?:T0):T0 {...
TS infers the parameters from the arguments, but it doesn't always infer the right type. For example `new FSharpSet(0, null)` (which is what `Set.empty` compiles to) is always inferred to...