You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several basic TypeScript (or JS) interfaces and types. Some are already handled and translated into suitable F# types, like Error (-> Exception) or Array (-> IList<'T>):
There are several basic TypeScript (or JS) interfaces and types. Some are already handled and translated into suitable F# types, like
Error
(->Exception
) orArray
(->IList<'T>
):ts2fable/src/transform.fs
Lines 1337 to 1348 in 32a1a94
But there are several more such types or interfaces that are commonly used, but not handled by ts2fable. I stumbled across these:
ArrayLike
->System.Collections.Generic.IList<'T>
(-> same asArray
)PromiseLike
->Fable.Core.JS.Promise<'T>
Iterable
->System.Collections.Generic.IEnumerable<'T>
? are these two compatible?Iterator
&IterableIterator
-> ? I don't thinkSystem.Collections.Generic.IEnumerator<'T>
is compatible to any of them?The text was updated successfully, but these errors were encountered: