Skip to content

Commit 056a910

Browse files
Fix Layer.discard jsdoc (#4822)
1 parent 146af39 commit 056a910

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fifty-olives-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"effect": patch
3+
---
4+
5+
fix `Layer.discard` jsdoc

packages/effect/src/Layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export const die: (defect: unknown) => Layer<unknown> = internal.die
269269
export const dieSync: (evaluate: LazyArg<unknown>) => Layer<unknown> = internal.dieSync
270270

271271
/**
272-
* Replaces the layer's output with `void` and includes the layer only for its
272+
* Replaces the layer's output with `never` and includes the layer only for its
273273
* side-effects.
274274
*
275275
* @since 2.0.0

0 commit comments

Comments
 (0)