Activate typescript mode with eval-after-load as feature isn't registerd during startup process so we cannot detect it earlier.
--- a/.emacs-my Tue Sep 01 13:22:16 2020 +0300
+++ b/.emacs-my Tue Sep 22 12:53:26 2020 +0300
@@ -3346,7 +3346,7 @@
;; (setq auto-mode-alist (rassq-delete-all 'js-mode auto-mode-alist))
;; (add-to-list 'auto-mode-alist '("\\.js$" . c++-mode))
-(when (featurep 'typescript-mode)
+(my--eval-after-load typescript-mode
(add-to-list 'auto-mode-alist '("\\.tsx?$" . typescript-mode)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;