Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.
TypeScript
import type { TargetTier } from 'claude-code'
/**
* What the shared hook needs of `next` on those events: the call, and the
* continuation past the user tier.
*/
export type ProvidedNext<E, R> = {
(e: E): Promise<R>
/**
* Continues the dispatch at `tier`, the links between skipped (Next's).
*/
readonly to: (e: E, tier: TargetTier) => Promise<R>
}