UNPKG

ecmarkup

Version:

Custom element definitions and core utilities for markup that specifies ECMAScript and related technologies.

10 lines (9 loc) 285 B
import type Spec from './Spec'; import type Clause from './Clause'; export default class Toc { constructor(spec: Spec); static build(level: Spec | Clause, { maxDepth, expandy }?: { maxDepth?: number | undefined; expandy?: boolean | undefined; }): string; }