Docz: Typescript decorators fail to compile

Created on 8 Mar 2019  路  1Comment  路  Source: doczjs/docz

Bug Report

Describe the bug

Support for the experimental syntax 'decorators-legacy' isn't currently enabled

on a stencil components project:
trying to run docz dev --typescript keep throwing that error above while .tsconfig in root folder clearly has _experimentalDecorators_ set to true in its compiler options.

also tried solving the issue unsuccessfully with creating & setting typescript options in _doczrc.js_ but it's not clear where to place that file or address it, root directory I assume.
should we maybe extend the .tsconfig file in folders containing .mdx files?

p.s
when serving the docz as mentioned above, the command line shows

Creating app... 1 ms
{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.

not clear why it refers babel when the typescript flag is on

>All comments

Closed in the newest version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilyanoskov picture ilyanoskov  路  3Comments

ssylvia picture ssylvia  路  3Comments

mquandalle picture mquandalle  路  3Comments

bichotll picture bichotll  路  3Comments

koddr picture koddr  路  3Comments