SmorS
Denoβ€’3y agoβ€’
3 replies
Smor

Deno ts

Whenever i run my deno file using a ts config like this documentation describes:

https://deno.land/manual@v1.31.2/advanced/typescript/configuration

i get the unsupported compiler options
The following options were ignored:
    experimentalDecorators, isolatedModules, module, moduleDetection


Even tho on the same link the documentation on the same link has this example:

{
  "compilerOptions": {
    "allowJs": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "inlineSourceMap": true,
    "isolatedModules": true,
    "jsx": "react",
    "lib": ["deno.window"],
    "module": "esnext",
    "moduleDetection": "force",
    "strict": true,
    "target": "esnext",
    "useDefineForClassFields": true
  }
}
Was this page helpful?