From 0694290115b97721995a6afd3bf976abf446ef42 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 8 Dec 2022 16:59:56 +0100 Subject: [PATCH] use constructorParameters to gain access to the options interface from the class --- code/lib/builder-webpack5/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/builder-webpack5/src/types.ts b/code/lib/builder-webpack5/src/types.ts index 6b13b02adf99..6e55f145ca22 100644 --- a/code/lib/builder-webpack5/src/types.ts +++ b/code/lib/builder-webpack5/src/types.ts @@ -16,7 +16,7 @@ export interface TypescriptOptions extends TypeScriptOptionsBase { /** * Configures `fork-ts-checker-webpack-plugin` */ - checkOptions?: ForkTsCheckerWebpackPlugin['options']; + checkOptions?: ConstructorParameters[0]; } export interface StorybookConfigWebpack extends Pick {