Closed rafarovina closed 4 years ago
Thanks for catching and reporting this @rafarovina in the upcoming version you will no longer need to set typescript:true in your doczrc config. But I updated the example too early by mistake !
I updated the example, it should work now.
If you want to fix your project just add a doczrc.js file in the root directory with contents :
export default {
typescript: true
}
or use the next docz version with : yarn add docz@next 👍
@rakannimer thanks for the extremely quick response! It works fine now
I can't believe I had a leading .
on my doczrc.js
file name 😱
Bug Report
I tried to start the typescript example project, but when I run I have the following error:
To reproduce, just follow the instructions on the doc:
I tried to create
.doczrc.js
as per docs. I still got the same error.Not sure it's related, but I noticed that
.docz/gatsby-config.js
hastypescript: false
.Environment
npm -v
: 6.13.1yarn -v
: 1.19.1node -v
: v12.13.0