Closed alfonsogarciacaro closed 5 years ago
See https://github.com/fable-compiler/Fable/issues/1709
typeof<'T> doesn't return the function constructor in Fable 2 anymore. Fable.Core.JsInterop.jsConstructor<'T> must be used instead.
typeof<'T>
Fable.Core.JsInterop.jsConstructor<'T>
Thanks!
See https://github.com/fable-compiler/Fable/issues/1709
typeof<'T>
doesn't return the function constructor in Fable 2 anymore.Fable.Core.JsInterop.jsConstructor<'T>
must be used instead.