diff --git a/.changeset/chilled-toys-share.md b/.changeset/chilled-toys-share.md index c039b7f8a1..4fe8124432 100644 --- a/.changeset/chilled-toys-share.md +++ b/.changeset/chilled-toys-share.md @@ -1,5 +1,5 @@ --- -"effect": minor +"effect": patch --- add `Micro.isMicroCause` guard diff --git a/packages/effect/src/Micro.ts b/packages/effect/src/Micro.ts index 861c41cd90..74b84e95e6 100644 --- a/packages/effect/src/Micro.ts +++ b/packages/effect/src/Micro.ts @@ -172,11 +172,11 @@ export type MicroCauseTypeId = typeof MicroCauseTypeId export type MicroCause = MicroCause.Die | MicroCause.Fail | MicroCause.Interrupt /** - * @since 3.7.0 + * @since 3.6.6 * @experimental * @category guards */ -export const isMicroCause = (self: unknown): self is MicroCause => hasProperty(self, MicroCauseTypeId) +export const isMicroCause = (self: unknown): self is MicroCause => hasProperty(self, MicroCauseTypeId) /** * @since 3.4.6