From 536b3b6da88ee4b89c151c977b0ed676993fbb62 Mon Sep 17 00:00:00 2001 From: Stefan Zerkalica Date: Mon, 4 Dec 2023 02:14:51 +0300 Subject: [PATCH] $mol_view_tree2 refactor, https://github.com/hyoo-ru/mam_mol/pull/646 --- lamps.view.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lamps.view.ts b/lamps.view.ts index 537c261..d173a64 100644 --- a/lamps.view.ts +++ b/lamps.view.ts @@ -192,7 +192,7 @@ namespace $.$$ { .replace( /[ \/]/g , '-' ) .replace( /[.,]/g , '' ) .toLowerCase() - .replace( /[а-я]/g , ( letter : string )=> trans[ letter ] ) + .replace( /[а-я]/g , ( letter : keyof typeof trans )=> trans[ letter ] ) } photo() {