        (add-hook 'typescript-mode-hook (lambda () (add-hook 'after-save-hook 'eslint-fix nil t)))
      )
   )
+  ;; Open tsx files in typescript mode
+  (add-to-list 'auto-mode-alist '("\\.tsx\\'" . typescript-mode))
+
 
   ;; Autofix eslint stuff on save
   (eval-after-load 'js2-mode

   ;; List of configuration layers to load.
   dotspacemacs-configuration-layers
   '(
     shell-scripts
     javascript
     yaml

   ;; List of themes, the first of the list is loaded when spacemacs starts.
   ;; Press <SPC> T n to cycle to the next theme in the list (works great
   ;; with 2 themes variants, one dark and one light)
   dotspacemacs-themes '(flatland spacemacs-light spacemacs-dark)
   ;; If non nil the cursor color matches the state color in GUI Emacs.
   dotspacemacs-colorize-cursor-according-to-state t
   ;; Default font, or prioritized list of fonts. `powerline-scale' allows to
