modified gnu/packages/node-xyz.scm @@ -5130,7 +5130,10 @@ (define-public node-vscode-uri (lambda _ ;; Otherwise, we'd need mocha and jest typescript types. (modify-json "src/tsconfig.json" - (add-fields '(("exclude" . #("test"))))))) + (add-fields '(("exclude" . #("test")) + ;; We also need to manually register the node + ;; types, for some reason. + ("compilerOptions.types" . #("node"))))))) (add-after 'build 'really-build (lambda _ (invoke "npm" "run" "compile")))