opentelemetry-js-api icon indicating copy to clipboard operation
opentelemetry-js-api copied to clipboard

Don't use lib dom during compilation

Open Flarna opened this issue 4 years ago • 2 comments

Currently tsconfig.json doesn't include a lib config. This results in automatically including dom - browser types (see https://www.typescriptlang.org/tsconfig#lib)

The only place where this is needed is for global this here

Should we aim to remove this to avoid that we use/rely on these types on other places?

Flarna avatar Feb 24 '21 19:02 Flarna