   (eldoc-mode +1)
   (hs-minor-mode t)
   (tide-hl-identifier-mode +1)
+  (global-set-key (kbd "C-c .") 'tide-references)
   ;; company is an optional dependency. You have to
   ;; install it separately via package-install
   ;; `M-x package-install [ret] company`

(require 'js2-refactor)
(require 'tide)
(add-hook 'js2-mode-hook #'js2-refactor-mode)

(add-to-list 'auto-mode-alist '("\\.tsx\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))


			   (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)
