From dbce4215c7ab6e49bb3b9a64baa7d93146f4a5c4 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 16 Jan 2020 18:47:26 +0800 Subject: [PATCH] Source-loader: Also disable typescript checking on intermediate file --- lib/source-loader/src/server/build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/source-loader/src/server/build.js b/lib/source-loader/src/server/build.js index 8620ef5959c5..cd7cf7158599 100644 --- a/lib/source-loader/src/server/build.js +++ b/lib/source-loader/src/server/build.js @@ -17,6 +17,7 @@ export function transform(inputSource) { }) => { const preamble = ` /* eslint-disable */ +// @ts-nocheck // @ts-ignore var withSourceLoader = require('@storybook/source-loader/preview').withSource; // @ts-ignore