// tracing: off import { pipe } from "@effect-ts/core/Function" import * as S from "../_schema.js" import { annotate, identity, named } from "../_schema.js" import type { DefaultSchema } from "./withDefaults.js" import { withDefaults } from "./withDefaults.js" export const unknownIdentifier = S.makeAnnotation<{}>() export const unknown: DefaultSchema = pipe( identity((_): _ is unknown => true), named("unknown"), withDefaults, annotate(unknownIdentifier, {}) )