Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_matches/src/matches.ts>deferred

Being able to pattern match in typescript
Go to Latest
function deferred
Re-export
import { deferred } from "https://deno.land/x/ts_matches@v5.2.0/src/matches.ts";

Must pass the shape that we expect since typescript as of this point can't infer with recursive like structures like this.

Type Parameters

optional
B = never