interface Limits

How much source to show around a breakpoint.

Properties

before: number

Lines before it, at most. It stops sooner at the start of the enclosing block.

after: number

Lines after it, at most. It stops sooner at a return.

Usage

import { type Limits } from "lib/repl/excerpt.ts";