compileOptions
in deno.json
donesn't support types
, however the documentation says, types
is supported
#23319
Labels
needs investigation
requires further investigation before determining if it is an issue or not
Version:
deno 1.42.2 (release, x86_64-pc-windows-msvc)
I tried to specify a
.d.ts
file in thecompilerOptions
intypes
indeno.json
, but the file was not recognized/loaded. It looks like Deno would just ignore thetypes
entry in thecompilerOptions
. The Deno manual however says that I can specifytypes
insidecompilerOptions
in the config file: docs.deno.com/runtime/manual/advanced/typescript/configuration#using-the-types-propertyAll of these files are in the root of my project:
index.d.ts
deno.json
styles.scss
main.ts
However, writing
// @deno-types="./index.d.ts"
above the import removes at least the error. But I don't want to write this over every.scss
file that I want to import.The text was updated successfully, but these errors were encountered: