Skip to content

Typings do not include showUnchanged and hideUnchanged for html formatter #234

@ian-craig

Description

@ian-craig

Typings (index.d.ts) for the html formatter only include the format method.

export interface Formatter {
  format(delta: Delta, original: any): string;
}

export const formatters: {
  annotated: Formatter;
  console: Formatter;
  html: Formatter;
};

showUnchanged and hideUnchanged should also be present.

Given these are only on the HTML formatter we'll probably need to add a separate type for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions