Skip to content

TS types #51

Description

@lionel-rowe

It'd be useful to have TS types for proper typing in TypeScript usage and also better intellisense/editor support.

interface Break {
  position: number;
  required: boolean;
}

export interface LineBreaker {
  new(input: string): LineBreaker;
  nextBreak(): Break | null;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions