Skip to content

Commit

Permalink
use constructorParameters to gain access to the options interface fro…
Browse files Browse the repository at this point in the history
…m the class
  • Loading branch information
ndelangen committed Dec 8, 2022
1 parent 77f0d4f commit 0694290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/builder-webpack5/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface TypescriptOptions extends TypeScriptOptionsBase {
/**
* Configures `fork-ts-checker-webpack-plugin`
*/
checkOptions?: ForkTsCheckerWebpackPlugin['options'];
checkOptions?: ConstructorParameters<typeof ForkTsCheckerWebpackPlugin>[0];
}

export interface StorybookConfigWebpack extends Pick<StorybookConfig, 'webpack' | 'webpackFinal'> {
Expand Down

0 comments on commit 0694290

Please sign in to comment.