79150969

Date: 2024-11-02 15:27:24
Score: 0.5
Natty:
Report link

No you can't, you can read the code, default behavior is special indeed.

But i believes you can mimic it by provide more ancestor node_modules folders:

{
  "typeRoots": [
    "./node_modules/@types",
    "../node_modules/@types",
    "../../node_modules/@types",
    // ...
  ]
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alan Zhang