-
-
Save anton-gorbikov/2790c0ba416b5d258b67d00f81324676 to your computer and use it in GitHub Desktop.
express-fs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Express | |
open Fable.Core | |
type Response = | |
abstract send: string -> unit | |
type Application = | |
abstract get: string -> (obj -> Response -> unit) -> unit | |
abstract listen: int -> (unit -> unit) -> unit | |
[<ImportDefault("express")>] | |
let inline Express (): Application = jsNative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment