mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-11 12:40:15 +00:00
Definition for sbd library
This commit is contained in:
16
types/sbd/index.d.ts
vendored
Normal file
16
types/sbd/index.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// Type definitions for sbd 1.0.15
|
||||
// Project: https://github.com/Tessmore/sbd
|
||||
// Definitions by: Brian Cort <https://github.com/thatcort>
|
||||
|
||||
export as namespace sbd;
|
||||
|
||||
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[];
|
||||
Reference in New Issue
Block a user