Skip to content

Commit

Permalink
incorrect type declaration in LibsqlClient.layer (#4185)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekelly881 authored Dec 29, 2024
1 parent 4326741 commit 8b46be6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/light-carrots-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"effect": patch
---

fixed incorrect type declaration in LibsqlClient.layer
2 changes: 1 addition & 1 deletion packages/sql-libsql/src/LibsqlClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export const layerConfig = (
*/
export const layer = (
config: LibsqlClientConfig
): Layer.Layer<LibsqlClient | Client.SqlClient, ConfigError> =>
): Layer.Layer<LibsqlClient | Client.SqlClient> =>
Layer.scopedContext(
Effect.map(make(config), (client) =>
Context.make(LibsqlClient, client).pipe(
Expand Down

0 comments on commit 8b46be6

Please sign in to comment.