8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
import { Context, Layer } from "effect"
|
|
import express from "express"
|
|
|
|
|
|
export class Express extends Context.Tag("Express")<Express, ReturnType<typeof express>>() {}
|
|
|
|
export const ExpressLive = Layer.sync(Express, () => express())
|