TypeScript friendly Data validator for JavaScript.
globalThis
, Object
, and Function
. (to check for unsafe keywords)assertType<T>(data, ty, ctx?)
assertion type guard function.Schema
when serializing the schema.declare type|interface|enum|const enum
statement.Fix typo (tynder-pass-through)
declare var|let|const
statement.const enum
definition./* @tynder-pass-through ... */
directive.external
statement and /* @tynder-external ... */
directive.