This is a follow-up improvement of #134.
We have added lib: ["ES2021, "DOM"] in tsconfig.base.json (previously brought by cross-fetch).
However, many LDO packages are browser-independent. We should only use DOM types in the packages which rely on browser environment. Start addressing this by removing DOM from tsconfig lib, then add it only where appropriate. This may also require reorganization of tsconfigs so they apply to their respective packages and only to them.
This is a follow-up improvement of #134.
We have added
lib: ["ES2021, "DOM"]in tsconfig.base.json (previously brought by cross-fetch).However, many LDO packages are browser-independent. We should only use
DOMtypes in the packages which rely on browser environment. Start addressing this by removingDOMfrom tsconfiglib, then add it only where appropriate. This may also require reorganization of tsconfigs so they apply to their respective packages and only to them.