Breaking Change in Schema Release Affects Custom Class Constructors

was there a breaking change in recent Schema release, where custom TaggedError constructors don't change the signature of
make
? I used to be able to do the following:
export class MyError extends S.TaggedError<MyError>()(
  'MyError',
  { message: S.String },
) {
  constructor({ a, b }: { a: string; b: string }) {
    super({ message: `${a}:${b}` })
  }
}

console.log('make', MyError.make({ a: '1', b: '2' }).message)
console.log('new', new MyError({ a: '1', b: '2' }).message)


after effect upgrade I get a type error on MyError.make
Was this page helpful?