Narrowing Unions Without a Single Type Assertion
Discriminants, type guards, and the satisfies operator doing the work for you.
👍 3
·
💬 10
5 posts
Showing 5 posts
Discriminants, type guards, and the satisfies operator doing the work for you.
Permission callbacks, argument schemas, and nonces for a custom endpoint.
Concepts from a client project that taught us a lot about the dashboard.
The handful of commands we type every day, and the aliases that shorten them.
A screencast adding a section, a setting, and a control with live preview.