add interfaces and option handling

This commit is contained in:
Jörg Breitbart
2019-12-05 21:30:59 +01:00
parent 31ccb796ac
commit 43303ba4c1
7 changed files with 67 additions and 10 deletions
+2 -2
View File
@@ -289,7 +289,7 @@ export interface IUnicodeService {
/** Registered Unicode versions. */
readonly versions: string[];
/** Currently active version. */
readonly activeVersion: string;
activeVersion: string;
/** Event triggered, when activate version changed. */
readonly onChange: IEvent<string>;
@@ -302,5 +302,5 @@ export interface IUnicodeService {
export interface IUnicodeVersionProvider {
version: string;
wcwidth(ucs: number): number;
wcwidth(ucs: number): 0 | 1 | 2;
}