4 ms·
Bartek from the Deno team here. Thanks for the feedback, I understand your frustration. > The worst of the changes is "lib.node included by default", if I'm wr
by bartlomieju 4mo ago
Bartek from the Deno team here. Thanks for the feedback, I understand your frustration.
> The worst of the changes is "lib.node included by default", if I'm writing Deno or web code I absolutely don't want node types included by default.
Since a few versions ago, Deno now has some of Node.js APIs included by default (eg. process or Buffer). It's really more of a bug fix to make type-checking work properly.
While it's not ideal, you can still decide which types you want included by default with `compilerOptions.types`. `["deno.ns", "web"]` should give you what you're looking for.