melkam
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
Hi. I followed the guide from docs to include libs for dom api and deno unstable features in the same environment. But it doesn't work for me. I added this to deno.json:
In my case I wanted to use webgpu api and render it on dom canvas
If I don't specify
lib
property in compilerOptions
, I can access the navigator.gpu
, but then I can't use dom api. Based on the docs the configuration above should allow for both api, but it doesn't work for me.15 replies