Skip to content

TS types #51

@lionel-rowe

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;
}

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