Logo Xantham

FsEntrypoint Type

What makes a declaration an F# *class* rather than an interface (ยง4.4): the import that binds the JavaScript constructor and the parameters a derived class passes to it. An F# interface admits no `inherit`, so a TypeScript class written to be derived from - an entrypoint an ambient module exports - reaches F# only in this form.

Record fields

Record Field Description

Binding

Full Usage: Binding

Field type: ImportBinding

The specifier and name the constructor is imported under, carried at the type level so that Fable's `super(...)` reaches it.

Field type: ImportBinding

Parameters

Full Usage: Parameters

Field type: FsParam list

The primary constructor's parameters, from the class's first construct signature.

Field type: FsParam list

Type something to start searching.