Skip to content

Instantly share code, notes, and snippets.

@anton-gorbikov

anton-gorbikov/express.fs Secret

Created Sep 23, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.