Skip to content

Commit 056888c

Browse files
committed
Trying to fix pnpm
1 parent 089d134 commit 056888c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

packages/evolu-server/src/frameworks/Express.ts

+9-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as Either from "effect/Either";
77
import * as Exit from "effect/Exit";
88
import { flow } from "effect/Function";
99
import * as Match from "effect/Match";
10-
import express from "express";
10+
import express, { Express } from "express";
1111
import { Kysely, SqliteDialect } from "kysely";
1212
import path from "path";
1313
import { Server, ServerLive } from "../Server.js";
@@ -26,7 +26,14 @@ const createDb = (fileName: string) =>
2626
}),
2727
});
2828

29-
export const createExpressApp = Effect.gen(function* (_) {
29+
export const createExpressApp: Effect.Effect<
30+
{
31+
app: Express;
32+
server: Server;
33+
},
34+
never,
35+
never
36+
> = Effect.gen(function* (_) {
3037
const server = yield* _(
3138
Server.pipe(
3239
Effect.provide(ServerLive),

0 commit comments

Comments
 (0)