Skip to content

Commit

Permalink
fix the typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
khashashin committed May 27, 2024
1 parent 05f23c4 commit b0a6cb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@ce/transliteration",
"version": "0.2.7",
"version": "0.2.8",
"exports": "./translit.ts"
}
8 changes: 4 additions & 4 deletions translit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,15 @@ export const translitMap: { [key: string]: string } = {

/**
* A list of words where 'н' at the end should not be replaced with 'ŋ'.
* @constant {Array.<string>}
* @constant {Set<string>}
*/
export const blacklist = new Set(["хан", "дин", "гӏан"]);
export const blacklist: Set<string> = new Set(["хан", "дин", "гӏан"]);

/**
* A list of words that require manual review for the 'н' transliteration.
* @constant {Array.<string>}
* @constant {Set<string>}
*/
export const unsureList = new Set(["шун", "бен"]);
export const unsureList: Set<string> = new Set(["шун", "бен"]);

/**
* Applies transliteration to a given word using the predefined transliteration mapping.
Expand Down

0 comments on commit b0a6cb3

Please sign in to comment.