【文件属性】:
文件名称:Fable.TsDeclaration:寓言插件发出Typescript声明
文件大小:10KB
文件格式:ZIP
更新时间:2021-03-12 16:33:59
F#
寓言
寓言插件发出寓言Elmish应用程序与JS / TS进行交互的。
用法
添加对程序包的引用:
dotnet add package Fable.TsDeclaration
# Or, if you use Paket:
dotnet paket add Fable.TsDeclaration
在您的F#应用程序中,说App.fs :
// Your Elmish types
type Model =
{ Names : string []
IsLoading : bool }
type Msg =
| DoSomething of times : int
| DoSomethingElse of instruction : string
// Binding to the JS component
// Learn more about im
【文件预览】:
Fable.TsDeclaration-main
----TsDeclaration.fs(3KB)
----Plugins.Util.fs(10KB)
----Fable.TsDeclaration.fsproj(484B)
----RELEASE_NOTES.md(34B)
----LICENSE(1KB)
----README.md(1KB)
----.gitignore(6KB)
----build.fsx(193B)
----package-lock.json(384B)
----package.json(166B)