mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Update to new version of [types/hyphen] with new option (#44601)
* Update index.d.ts Member "locale" of interface "JsonDataHeader" was renamed to "language". * Update gettext.js-tests.ts Updated test according to type definition changes. * Updated version number to 0.8 * Added type definition for hyphen * Fixed errors in tsconfig.json * Fixed errors reported by the linter * Updated tests for module hyphen * * Revert previous changes in test script * Added OTHER_FILES.txt to ignore unused declaration files in test script * Removed index.d.ts from OTHER_FILES.txt as it is the main file used also in the test * Added index.d.ts to files entry within tsconfig.json * Optimized parameter types with Readonly * Renamed common.ts to common.d.ts so that it is included in the npm package on packing. * Added comments * Added new option minWordLength for new package version 1.6 * Remove entry from OTHER_FILES.txt * Fixed variable name * Add default values in JSDoc syntax * * Renamed PatternDefinitions interface to PatternsDefinition * Added comments to patterns and factory files Co-authored-by: Krisztián Balla <h1tm4n_@web.de>
This commit is contained in:
parent
598049c8db
commit
0f43e4cfd1
@ -91,7 +91,6 @@ patterns/de-1901.d.ts
|
||||
patterns/de-ch-1901.d.ts
|
||||
patterns/el-monoton.d.ts
|
||||
patterns/el-polyton.d.ts
|
||||
patterns/en-gb.d.ts
|
||||
patterns/en-us.d.ts
|
||||
patterns/es.d.ts
|
||||
patterns/et.d.ts
|
||||
|
||||
9
types/hyphen/af.d.ts
vendored
9
types/hyphen/af.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/as.d.ts
vendored
9
types/hyphen/as.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/be.d.ts
vendored
9
types/hyphen/be.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/bg.d.ts
vendored
9
types/hyphen/bg.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/bn.d.ts
vendored
9
types/hyphen/bn.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/ca.d.ts
vendored
9
types/hyphen/ca.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
31
types/hyphen/common.d.ts
vendored
31
types/hyphen/common.d.ts
vendored
@ -1,7 +1,7 @@
|
||||
/**
|
||||
* Hyphenation patterns and exceptions for a language.
|
||||
*/
|
||||
export interface PatternDefinitions {
|
||||
export interface PatternsDefinition {
|
||||
/** List of hyphenation patterns. */
|
||||
patterns: string[];
|
||||
|
||||
@ -13,22 +13,37 @@ export interface PatternDefinitions {
|
||||
* Options for a hyphenation call.
|
||||
*/
|
||||
export interface HyphenationOptions {
|
||||
/** A boolean indicating, if the hyphenation function should output debug info to the console. Default is false. */
|
||||
/**
|
||||
* A boolean indicating, if the hyphenation function should output debug info to the console.
|
||||
* @default false
|
||||
*/
|
||||
debug?: boolean;
|
||||
|
||||
/** The value of the hyphen character that is inserted into the text. Default is \u00AD. */
|
||||
/**
|
||||
* The value of the hyphen character that is inserted into the text.
|
||||
* @default \u00AD
|
||||
*/
|
||||
hyphenChar?: string;
|
||||
|
||||
/**
|
||||
* The minimum length for a word to get hyphenated. Can't be less than 5.
|
||||
* @default 5
|
||||
*/
|
||||
minWordLength?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Synchronous hyphenation function returning the hyphenated text immediately.
|
||||
* @param text The text to be hyphenated.
|
||||
* @param options Options for the hyphenation process.
|
||||
* @returns The hyphenated text.
|
||||
*/
|
||||
export type HyphenationFunctionSync = (textToHyphenate: string, options?: Readonly<HyphenationOptions>) => string;
|
||||
export type HyphenationFunctionSync = (text: string, options?: Readonly<HyphenationOptions>) => string;
|
||||
|
||||
/**
|
||||
* Asynchronous hyphenation function returning a promise for the hyphenated text.
|
||||
* @param text The text to be hyphenated.
|
||||
* @param options Options for the hyphenation process.
|
||||
* @returns A promise of the hyphenated text.
|
||||
*/
|
||||
export type HyphenationFunctionAsync = (
|
||||
textToHyphenate: string,
|
||||
options?: Readonly<HyphenationOptions>,
|
||||
) => Promise<string>;
|
||||
export type HyphenationFunctionAsync = (text: string, options?: Readonly<HyphenationOptions>) => Promise<string>;
|
||||
|
||||
9
types/hyphen/cop.d.ts
vendored
9
types/hyphen/cop.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/cs.d.ts
vendored
9
types/hyphen/cs.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/cu.d.ts
vendored
9
types/hyphen/cu.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/cy.d.ts
vendored
9
types/hyphen/cy.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/da.d.ts
vendored
9
types/hyphen/da.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/de-1901.d.ts
vendored
9
types/hyphen/de-1901.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/de-1996.d.ts
vendored
9
types/hyphen/de-1996.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/de-ch-1901.d.ts
vendored
9
types/hyphen/de-ch-1901.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/el-monoton.d.ts
vendored
9
types/hyphen/el-monoton.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/el-polyton.d.ts
vendored
9
types/hyphen/el-polyton.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/en-gb.d.ts
vendored
9
types/hyphen/en-gb.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/en-us.d.ts
vendored
9
types/hyphen/en-us.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/es.d.ts
vendored
9
types/hyphen/es.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/et.d.ts
vendored
9
types/hyphen/et.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/eu.d.ts
vendored
9
types/hyphen/eu.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/fi.d.ts
vendored
9
types/hyphen/fi.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/fr.d.ts
vendored
9
types/hyphen/fr.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/fur.d.ts
vendored
9
types/hyphen/fur.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/ga.d.ts
vendored
9
types/hyphen/ga.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/gl.d.ts
vendored
9
types/hyphen/gl.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/grc.d.ts
vendored
9
types/hyphen/grc.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/gu.d.ts
vendored
9
types/hyphen/gu.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/hi.d.ts
vendored
9
types/hyphen/hi.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/hr.d.ts
vendored
9
types/hyphen/hr.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/hsb.d.ts
vendored
9
types/hyphen/hsb.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/hu.d.ts
vendored
9
types/hyphen/hu.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/hy.d.ts
vendored
9
types/hyphen/hy.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import createHyphenator = require('hyphen');
|
||||
import hyphenationPatternsDe1996 = require('hyphen/patterns/de-1996');
|
||||
import hyphenationPatternsHu = require('hyphen/patterns/hu');
|
||||
import hyphenationPatternsEnGb = require('hyphen/patterns/en-gb');
|
||||
import { hyphenate as hyphenateEnGbAsync } from 'hyphen/en-gb';
|
||||
|
||||
// Test with HTML
|
||||
@ -21,3 +22,15 @@ hyphenateEnGbAsync('hyphenation', { hyphenChar: '#' }).then(result => {
|
||||
throw new Error('Test failed');
|
||||
}
|
||||
});
|
||||
|
||||
// Test with minWordLength (new option in version 1.6)
|
||||
const hyphenateEnGbSyncWithMinWordLength = createHyphenator(hyphenationPatternsEnGb, {
|
||||
hyphenChar: '-',
|
||||
minWordLength: 11,
|
||||
});
|
||||
if (hyphenateEnGbSyncWithMinWordLength('hyphenation') !== 'hy-phen-a-tion') { // hyphenation has 11 chars => hyphenate
|
||||
throw new Error('Test failed');
|
||||
}
|
||||
if (hyphenateEnGbSyncWithMinWordLength('sabotaging') !== 'sabotaging') { // sabotaging has 10 chars => don't hyphenate
|
||||
throw new Error('Test failed');
|
||||
}
|
||||
|
||||
9
types/hyphen/ia.d.ts
vendored
9
types/hyphen/ia.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/id.d.ts
vendored
9
types/hyphen/id.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
34
types/hyphen/index.d.ts
vendored
34
types/hyphen/index.d.ts
vendored
@ -1,34 +1,52 @@
|
||||
// Type definitions for hyphen 1.5
|
||||
// Type definitions for hyphen 1.6
|
||||
// Project: https://github.com/ytiurin/hyphen
|
||||
// Definitions by: Krisztián Balla <https://github.com/krisztianb>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from './common';
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from './common';
|
||||
|
||||
/**
|
||||
* Options for the hyphenation factory function.
|
||||
*/
|
||||
interface FactoryOptions {
|
||||
/** If true the factory returns an asynchronous hyphenation function. Default is false. */
|
||||
/**
|
||||
* If true the factory returns an asynchronous hyphenation function.
|
||||
* @default false
|
||||
*/
|
||||
async?: boolean;
|
||||
|
||||
/** A boolean indicating, if the hyphenation function should output debug info to the console. Default is false. */
|
||||
/**
|
||||
* A boolean indicating, if the hyphenation function should output debug info to the console.
|
||||
* @default false
|
||||
*/
|
||||
debug?: boolean;
|
||||
|
||||
/** The value of the hyphen character that is inserted into the text. Default is \u00AD. */
|
||||
/**
|
||||
* The value of the hyphen character that is inserted into the text.
|
||||
* @default \u00AD
|
||||
*/
|
||||
hyphenChar?: string;
|
||||
|
||||
/** If true the hyphenation function is going to ignore HTML tags in the text. Default is false. */
|
||||
/**
|
||||
* If true the hyphenation function is going to ignore HTML tags in the text.
|
||||
* @default false
|
||||
*/
|
||||
html?: boolean;
|
||||
|
||||
/**
|
||||
* The minimum length for a word to get hyphenated. Can't be less than 5.
|
||||
* @default 5
|
||||
*/
|
||||
minWordLength?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a hyphenation function that can be used to hyphenate text.
|
||||
* @param patternsDefinition The hyphenation pattern definitions for a language.
|
||||
* @param patternsDefinition The hyphenation patterns definition for a language.
|
||||
* @param options Settings for the hyphenation function.
|
||||
* @returns Depending on the options a synchronous or asynchronous hyphenation function.
|
||||
*/
|
||||
declare function createHyphenator(
|
||||
patternsDefinition: Readonly<PatternDefinitions>,
|
||||
patternsDefinition: Readonly<PatternsDefinition>,
|
||||
options?: Readonly<FactoryOptions>,
|
||||
): HyphenationFunctionAsync | HyphenationFunctionSync;
|
||||
|
||||
|
||||
9
types/hyphen/is.d.ts
vendored
9
types/hyphen/is.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/it.d.ts
vendored
9
types/hyphen/it.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/ka.d.ts
vendored
9
types/hyphen/ka.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/kmr.d.ts
vendored
9
types/hyphen/kmr.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/kn.d.ts
vendored
9
types/hyphen/kn.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/la-x-classic.d.ts
vendored
9
types/hyphen/la-x-classic.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/la-x-liturgic.d.ts
vendored
9
types/hyphen/la-x-liturgic.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/la.d.ts
vendored
9
types/hyphen/la.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/lt.d.ts
vendored
9
types/hyphen/lt.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/lv.d.ts
vendored
9
types/hyphen/lv.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/ml.d.ts
vendored
9
types/hyphen/ml.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/mn-cyrl-x-lmc.d.ts
vendored
9
types/hyphen/mn-cyrl-x-lmc.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/mn-cyrl.d.ts
vendored
9
types/hyphen/mn-cyrl.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/mr.d.ts
vendored
9
types/hyphen/mr.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/mul-ethi.d.ts
vendored
9
types/hyphen/mul-ethi.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/nb.d.ts
vendored
9
types/hyphen/nb.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/nl.d.ts
vendored
9
types/hyphen/nl.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/nn.d.ts
vendored
9
types/hyphen/nn.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/no.d.ts
vendored
9
types/hyphen/no.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/oc.d.ts
vendored
9
types/hyphen/oc.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/or.d.ts
vendored
9
types/hyphen/or.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
9
types/hyphen/pa.d.ts
vendored
9
types/hyphen/pa.d.ts
vendored
@ -1,11 +1,16 @@
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternDefinitions } from "./common";
|
||||
import { HyphenationFunctionAsync, HyphenationFunctionSync, PatternsDefinition } from "./common";
|
||||
|
||||
/** The asynchronous hyphenation function for this language. */
|
||||
export const hyphenate: HyphenationFunctionAsync;
|
||||
|
||||
/** The asynchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTML: HyphenationFunctionAsync;
|
||||
|
||||
/** The synchronous hyphenation function for this language. */
|
||||
export const hyphenateSync: HyphenationFunctionSync;
|
||||
|
||||
/** The synchronous hyphenation function, that skips HTML, for this language. */
|
||||
export const hyphenateHTMLSync: HyphenationFunctionSync;
|
||||
|
||||
export const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
export const patterns: PatternsDefinition;
|
||||
|
||||
5
types/hyphen/patterns/af.d.ts
vendored
5
types/hyphen/patterns/af.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/as.d.ts
vendored
5
types/hyphen/patterns/as.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/be.d.ts
vendored
5
types/hyphen/patterns/be.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/bg.d.ts
vendored
5
types/hyphen/patterns/bg.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/bn.d.ts
vendored
5
types/hyphen/patterns/bn.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/ca.d.ts
vendored
5
types/hyphen/patterns/ca.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/cop.d.ts
vendored
5
types/hyphen/patterns/cop.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/cs.d.ts
vendored
5
types/hyphen/patterns/cs.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/cu.d.ts
vendored
5
types/hyphen/patterns/cu.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/cy.d.ts
vendored
5
types/hyphen/patterns/cy.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/da.d.ts
vendored
5
types/hyphen/patterns/da.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/de-1901.d.ts
vendored
5
types/hyphen/patterns/de-1901.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/de-1996.d.ts
vendored
5
types/hyphen/patterns/de-1996.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/de-ch-1901.d.ts
vendored
5
types/hyphen/patterns/de-ch-1901.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/el-monoton.d.ts
vendored
5
types/hyphen/patterns/el-monoton.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/el-polyton.d.ts
vendored
5
types/hyphen/patterns/el-polyton.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/en-gb.d.ts
vendored
5
types/hyphen/patterns/en-gb.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/en-us.d.ts
vendored
5
types/hyphen/patterns/en-us.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/es.d.ts
vendored
5
types/hyphen/patterns/es.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/et.d.ts
vendored
5
types/hyphen/patterns/et.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/eu.d.ts
vendored
5
types/hyphen/patterns/eu.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/fi.d.ts
vendored
5
types/hyphen/patterns/fi.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/fr.d.ts
vendored
5
types/hyphen/patterns/fr.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/fur.d.ts
vendored
5
types/hyphen/patterns/fur.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/ga.d.ts
vendored
5
types/hyphen/patterns/ga.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/gl.d.ts
vendored
5
types/hyphen/patterns/gl.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/grc.d.ts
vendored
5
types/hyphen/patterns/grc.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/gu.d.ts
vendored
5
types/hyphen/patterns/gu.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/hi.d.ts
vendored
5
types/hyphen/patterns/hi.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/hr.d.ts
vendored
5
types/hyphen/patterns/hr.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/hsb.d.ts
vendored
5
types/hyphen/patterns/hsb.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/hu.d.ts
vendored
5
types/hyphen/patterns/hu.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/hy.d.ts
vendored
5
types/hyphen/patterns/hy.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/ia.d.ts
vendored
5
types/hyphen/patterns/ia.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/id.d.ts
vendored
5
types/hyphen/patterns/id.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/is.d.ts
vendored
5
types/hyphen/patterns/is.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/it.d.ts
vendored
5
types/hyphen/patterns/it.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/ka.d.ts
vendored
5
types/hyphen/patterns/ka.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
5
types/hyphen/patterns/kmr.d.ts
vendored
5
types/hyphen/patterns/kmr.d.ts
vendored
@ -1,5 +1,6 @@
|
||||
import { PatternDefinitions } from "../common";
|
||||
import { PatternsDefinition } from "../common";
|
||||
|
||||
declare const patterns: PatternDefinitions;
|
||||
/** The hyphenation patterns definition for this language. */
|
||||
declare const patterns: PatternsDefinition;
|
||||
|
||||
export = patterns;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user