Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/conditional_type_checks/mod.ts>Assert

Types for testing TypeScript types.
Latest
type alias Assert
import { type Assert } from "https://deno.land/x/conditional_type_checks@1.0.6/mod.ts";

Asserts at compile time that the provided type argument's type resolves to the expected boolean literal type.

Type Parameters

T extends true | false
Expected extends T
definition: never