UNPKG

rtf-stream-parser

Version:

Stream Transform class to tokenize RTF, and another to de-encapsulate text or HTML

12 lines (11 loc) 320 B
import { WarnOption } from "./types"; export interface GlobalStateWithGroupState<T> { _state: T; _rootState: T; } export interface GroupState extends Object { groupDepth: number; } export interface GroupGlobalState extends GlobalStateWithGroupState<GroupState>, WarnOption { _done: boolean; }