Skip to content

Instantly share code, notes, and snippets.

@anton-gorbikov
Created September 23, 2020 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anton-gorbikov/2790c0ba416b5d258b67d00f81324676 to your computer and use it in GitHub Desktop.
Save anton-gorbikov/2790c0ba416b5d258b67d00f81324676 to your computer and use it in GitHub Desktop.
express-fs
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