From 3f2690f15c922f7c07151dce113021ad3ce41a3c Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Wed, 6 Jul 2022 22:21:14 -0400 Subject: [PATCH] Mention ts-node --- docs/configure/overview.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/configure/overview.md b/docs/configure/overview.md index 77b757ccb08..cc9bfc999aa 100644 --- a/docs/configure/overview.md +++ b/docs/configure/overview.md @@ -160,6 +160,8 @@ If you would like, you can also write your Storybook configuration using TypeScr This babel config will be used to process your stories, as well as your config files. +Alternatively, you can install [`ts-node`](https://typestrong.org/ts-node/) in your project, which will be used to process your config files without the need for a `.babelrc`. + Rename your `.storybook/main.js` to `.storybook/main.ts` and restart your Storybook. ### Using Storybook Types in Your Configuration