effect-io-ai

Package: effect
Module: Newtype

Newtype.Newtype.Any

A type that matches any Newtype, useful as a generic constraint: <N extends Newtype.Any>.

When to use

Use as a generic constraint when a type parameter can be any Newtype.

See

Signature

type Any = Newtype<any, unknown>

Source

Since v4.0.0