effect 3.13.6 → 3.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ import { currentScheduler, type Scheduler } from "../Scheduler.js"
43
43
  import type * as Scope from "../Scope.js"
44
44
  import type * as Supervisor from "../Supervisor.js"
45
45
  import type * as Tracer from "../Tracer.js"
46
- import type { Concurrency, NoInfer } from "../Types.js"
46
+ import type { Concurrency, NoExcessProperties, NoInfer } from "../Types.js"
47
47
  import { internalCall, yieldWrapGet } from "../Utils.js"
48
48
  import * as RequestBlock_ from "./blockedRequests.js"
49
49
  import * as internalCause from "./cause.js"
@@ -1945,13 +1945,13 @@ const allEither = (
1945
1945
  /* @internal */
1946
1946
  export const all = <
1947
1947
  const Arg extends Iterable<Effect.Effect<any, any, any>> | Record<string, Effect.Effect<any, any, any>>,
1948
- O extends {
1948
+ O extends NoExcessProperties<{
1949
1949
  readonly concurrency?: Concurrency | undefined
1950
1950
  readonly batching?: boolean | "inherit" | undefined
1951
1951
  readonly discard?: boolean | undefined
1952
1952
  readonly mode?: "default" | "validate" | "either" | undefined
1953
1953
  readonly concurrentFinalizers?: boolean | undefined
1954
- }
1954
+ }, O>
1955
1955
  >(
1956
1956
  arg: Arg,
1957
1957
  options?: O
@@ -1974,13 +1974,13 @@ export const all = <
1974
1974
 
1975
1975
  /* @internal */
1976
1976
  export const allWith = <
1977
- O extends {
1977
+ O extends NoExcessProperties<{
1978
1978
  readonly concurrency?: Concurrency | undefined
1979
1979
  readonly batching?: boolean | "inherit" | undefined
1980
1980
  readonly discard?: boolean | undefined
1981
1981
  readonly mode?: "default" | "validate" | "either" | undefined
1982
1982
  readonly concurrentFinalizers?: boolean | undefined
1983
- }
1983
+ }, O>
1984
1984
  >(options?: O) =>
1985
1985
  <const Arg extends Iterable<Effect.Effect<any, any, any>> | Record<string, Effect.Effect<any, any, any>>>(
1986
1986
  arg: Arg
@@ -1810,14 +1810,14 @@ export const repeat_Effect = dual<
1810
1810
 
1811
1811
  /** @internal */
1812
1812
  export const repeat_combined = dual<{
1813
- <O extends Effect.Repeat.Options<A>, A>(
1813
+ <O extends Types.NoExcessProperties<Effect.Repeat.Options<A>, O>, A>(
1814
1814
  options: O
1815
1815
  ): <E, R>(self: Effect.Effect<A, E, R>) => Effect.Repeat.Return<R, E, A, O>
1816
1816
  <B, A, R1>(
1817
1817
  schedule: Schedule.Schedule<B, A, R1>
1818
1818
  ): <E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<B, E, R | R1>
1819
1819
  }, {
1820
- <A, E, R, O extends Effect.Repeat.Options<A>>(
1820
+ <A, E, R, O extends Types.NoExcessProperties<Effect.Repeat.Options<A>, O>>(
1821
1821
  self: Effect.Effect<A, E, R>,
1822
1822
  options: O
1823
1823
  ): Effect.Repeat.Return<R, E, A, O>
@@ -1907,7 +1907,7 @@ export const retry_Effect = dual<
1907
1907
 
1908
1908
  /** @internal */
1909
1909
  export const retry_combined: {
1910
- <E, O extends Effect.Retry.Options<E>>(
1910
+ <E, O extends Types.NoExcessProperties<Effect.Retry.Options<E>, O>>(
1911
1911
  options: O
1912
1912
  ): <A, R>(
1913
1913
  self: Effect.Effect<A, E, R>
@@ -1915,7 +1915,7 @@ export const retry_combined: {
1915
1915
  <B, E, R1>(
1916
1916
  policy: Schedule.Schedule<B, Types.NoInfer<E>, R1>
1917
1917
  ): <A, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R1 | R>
1918
- <A, E, R, O extends Effect.Retry.Options<E>>(
1918
+ <A, E, R, O extends Types.NoExcessProperties<Effect.Retry.Options<E>, O>>(
1919
1919
  self: Effect.Effect<A, E, R>,
1920
1920
  options: O
1921
1921
  ): Effect.Retry.Return<R, E, A, O>
@@ -1,4 +1,4 @@
1
- let moduleVersion = "3.13.6"
1
+ let moduleVersion = "3.13.7"
2
2
 
3
3
  export const getCurrentVersion = () => moduleVersion
4
4