Upgrade typescript-language-server to 3.3.2

This commit is contained in:
Tony Garnock-Jones 2023-04-28 10:20:10 +02:00
parent 40844d2806
commit abaf23920b
2 changed files with 3 additions and 25 deletions

View File

@ -1,22 +0,0 @@
((typescript-mode
. ((eval
. (progn
;; For TIDE:
(setq tide-tsserver-executable
(concat
(let ((d (dir-locals-find-file ".")))
(if (stringp d) d (car d)))
"node_modules/typescript/lib/tsserver.js"))
;; For LSP:
(require 'lsp-javascript)
(let ((node-modules (concat
(let ((d (dir-locals-find-file ".")))
(if (stringp d) d (car d)))
"node_modules/")))
(lsp-dependency 'typescript-language-server
`(:system ,(concat node-modules
"typescript-language-server/lib/cli.mjs")))
(lsp-dependency 'typescript
`(:system ,(concat node-modules
"typescript/lib/tsserver.js")))))
))))

View File

@ -6519,9 +6519,9 @@ typedarray@^0.0.6:
integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
typescript-language-server@^3.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/typescript-language-server/-/typescript-language-server-3.1.0.tgz#56de1e36826f53b79e31f902e30c9936e86f2a58"
integrity sha512-tc3kUTDEGOMKc96JKQrP3edRx42FzgpPXgUcmHoFJ+6Phgdt101Z9kypD6nxPX4kE7F6xBj/U9Caltf/uttAMA==
version "3.3.2"
resolved "https://registry.yarnpkg.com/typescript-language-server/-/typescript-language-server-3.3.2.tgz#4547a6098b5708c1e3bd2c5c17ad698e3d6a97a4"
integrity sha512-jzun53CIkTbpAki0nP+hk5baGW+86SNNlVhyIj2ZUy45zUkCnmoetWuAtfRRQYrlIr8x4QB3ymGJPuwDQSd/ew==
typescript@^4.9:
version "4.9.5"