 			   (company-mode)
 			   (set (make-local-variable 'company-backends) '((company-tern company-etags company-dabbrev-code) company-dabbrev))
 			   ))
+;;typescript develop configure
 (defun setup-tide-mode ()
   (interactive)
   (tide-setup)


;; formats the buffer before saving
(add-hook 'before-save-hook 'tide-format-before-save)

(add-hook 'typescript-mode-hook #'setup-tide-mode)
(provide 'init-js)
;;; init-js.el ends here


(require 'js2-refactor)
(require 'tide)
(add-hook 'js2-mode-hook #'js2-refactor-mode)
;;(add-hook 'js-mode-hook #'indium-interaction-mode)
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))

