Savory / Danet-Starter

A basic Danet app to help you build awesome API
MIT License
5 stars 4 forks source link

Set experimentalDecorators to true for Deno decorators support #6

Closed fecony closed 8 months ago

fecony commented 8 months ago

Deno 1.40 introduced support for TC39 stage 3 decorators. Causing following issue:

Screenshot 2024-02-21 at 22 30 39

From mentioned release blog post:

If you rely on the legacy “experimental TypeScript decorators”, you can still use them with the following configuration:

{
  "compilerOptions": {
    "experimentalDecorators": true
  }
}