how to disable auto ts dom type Follow Crazyxhz Created October 09, 2021 23:56 If I do not import Response type from express, webstorm auto infer Response type as dom fetch Response type. How can I disable this behavior?
make sure that
DOMlib is not included in your tsconfig.json - it's there by default if
"lib"is not specified explicitly, see https://www.typescriptlang.org/docs/handbook/compiler-options.html:
DOMfrom tsconfig.json + disabling the predefined
HTMLlibrary should help