@ts-runtypes/core
v0.12.2
Published
Sentinel marker + canonical reflection helper for ts-runtypes. The vite plugin rewrites every call of a function whose trailing parameter type is InjectRunTypeId<T> exported from this package.
Readme
@ts-runtypes/core
Compile-time runtime types for TypeScript 7 / typescript-go (tsgo).
TypeScript throws your types away before your code ever runs. RunTypes reads them first, at build time, and hands the runtime back what it lost: validators, JSON and binary (de)serializers, mock data, and reflection.
This is the runtime package: the sentinel markers the compiler looks for, plus the
small helper runtime the generated code calls into. It has zero dependencies.
The build-time half lives in
@ts-runtypes/devtools.
Documentation
Install, guides, the factory reference, and benchmarks live at runtypes.pages.dev.
Status
Experimental.
License
Proprietary — all rights reserved. No use, copying, or distribution without prior written authorization. See LICENSE.
