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

x/live/deps.ts>CatchClause

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
interface CatchClause
implements Node, HasSpan
import { type CatchClause } from "https://deno.land/x/live@1.60.0/deps.ts";

Properties

type: "CatchClause"
optional
param: Pattern

The param is undefined if the catch binding is omitted. E.g., try { foo() } catch {}

body: BlockStatement