We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Layer.discard
1 parent 146af39 commit 056a910Copy full SHA for 056a910
.changeset/fifty-olives-shake.md
@@ -0,0 +1,5 @@
1
+---
2
+"effect": patch
3
4
+
5
+fix `Layer.discard` jsdoc
packages/effect/src/Layer.ts
@@ -269,7 +269,7 @@ export const die: (defect: unknown) => Layer<unknown> = internal.die
269
export const dieSync: (evaluate: LazyArg<unknown>) => Layer<unknown> = internal.dieSync
270
271
/**
272
- * Replaces the layer's output with `void` and includes the layer only for its
+ * Replaces the layer's output with `never` and includes the layer only for its
273
* side-effects.
274
*
275
* @since 2.0.0
0 commit comments