mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
16 lines
494 B
TypeScript
16 lines
494 B
TypeScript
// Type definitions for sbd 1.0
|
|
// Project: http://github.com/tessmore/sbd
|
|
// Definitions by: Brian Cort <https://github.com/thatcort>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export interface Options {
|
|
newline_boundaries?: boolean;
|
|
html_boundaries?: boolean;
|
|
sanitize?: boolean;
|
|
allowed_tags?: false | string[];
|
|
preserve_whitespace?: boolean;
|
|
abbreviations?: string[];
|
|
}
|
|
|
|
export function sentences(text: string, options?: Options): string[];
|