Comparing Schema Objects in with assert.deepEqual

Hey hey, How can I possibly get around this?

import * as Schema from "effect/Schema";
import * as assert from "assert";

// Ok
assert.deepStrictEqual(Schema.String.ast, Schema.String.ast);

// fails
assert.deepStrictEqual(
  Schema.OptionFromNullOr(Schema.String).ast,
  Schema.OptionFromNullOr(Schema.String).ast
);

Is there any better way to compare two schema objects?
Was this page helpful?