type fixes & docs

This commit is contained in:
Jörg Breitbart
2020-01-04 14:47:14 +01:00
parent bd4c2da37c
commit df4b07f9f2
10 changed files with 30 additions and 19 deletions
+1 -1
View File
@@ -84,7 +84,7 @@ function bisearch(ucs: number, data: number[][]): boolean {
}
export class UnicodeV6 implements IUnicodeVersionProvider {
public version = '6';
public readonly version = '6';
constructor() {
// init lookup table once
+1 -1
View File
@@ -328,6 +328,6 @@ export interface IUnicodeService {
}
export interface IUnicodeVersionProvider {
version: string;
readonly version: string;
wcwidth(ucs: number): 0 | 1 | 2;
}