Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→check-types-mini→Examples

Permalink to Table of ContentsTable of Contents

  • Quick Take
  • Exclude selected paths from array acceptance
  • Accept arrays of the reference value's type
  • Allow any shape below a schema path
  • Customise validation error context
  • Ignore a key wherever it occurs
  • Ignore only selected nested paths
  • Validate a property whose key contains a literal dot
  • Use a nested schema object
  • Compose progress and inspect completion statistics
  • Allow missing and additional keys
  • Allow multiple types through a schema
  • Validate an options object against defaults
↑ back to top

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Exclude selected paths from array acceptanceExclude selected paths from array acceptance

↑ back to top

Permalink to Accept arrays of the reference value's typeAccept arrays of the reference value's type

↑ back to top

Permalink to Allow any shape below a schema pathAllow any shape below a schema path

↑ back to top

Permalink to Customise validation error contextCustomise validation error context

↑ back to top

Permalink to Ignore a key wherever it occursIgnore a key wherever it occurs

↑ back to top

Permalink to Ignore only selected nested pathsIgnore only selected nested paths

↑ back to top

Permalink to Validate a property whose key contains a literal dotValidate a property whose key contains a literal dot

↑ back to top

Permalink to Use a nested schema objectUse a nested schema object

↑ back to top

Permalink to Compose progress and inspect completion statisticsCompose progress and inspect completion statistics

↑ back to top

Permalink to Allow missing and additional keysAllow missing and additional keys

↑ back to top

Permalink to Allow multiple types through a schemaAllow multiple types through a schema

↑ back to top

Permalink to Validate an options object against defaultsValidate an options object against defaults

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab