UNPKG

ecmarkup

Version:

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

12 lines (11 loc) 395 B
import type Spec from './Spec'; import type { Context } from './Context'; export type BuilderInterface = Omit<typeof Builder, never>; export default class Builder { spec: Spec; node: HTMLElement; constructor(spec: Spec, node: HTMLElement); static enter(context: Context): Promise<void>; static exit(context: Context): void; static readonly elements: readonly string[]; }