github Effect-TS/effect effect@3.14.12

latest releases: @effect/platform@0.90.9, @effect/workflow@0.9.5, @effect/workflow@0.9.4...
4 months ago

Patch Changes

  • #4770 c2ad9ee Thanks @gcanti! - Fixes a bug where non existing properties were allowed in the make constructor of a Schema.Class, closes #4767.

    Example

    import { Schema } from "effect"
    
    class A extends Schema.Class<A>("A")({
      a: Schema.String
    }) {}
    
    A.make({
      a: "a",
      // @ts-expect-error: Object literal may only specify known properties, and 'b' does not exist in type '{ readonly a: string; }'.ts(2353)
      b: "b"
    })
  • #4735 9c68654 Thanks @suddenlyGiovanni! - Improve Number module with comprehensive TsDocs and type-level tests

Don't miss a new effect release

NewReleases is sending notifications on new releases.