Defjs
Core

AnyStruct

Broad struct constraint that accepts any struct, for endpoint and client generics.

@defjs/core · Type

Signature

type AnyStruct = Struct<any, any, boolean>;

Used by generics such as defineRequest and Fault. Prefer a concrete Struct<…> when you need precise input and output inference.

Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao