Skip to content

Commit c391fe6

Browse files
committed
fix: fixing types
1 parent 11d9baf commit c391fe6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.storybook/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const config: StorybookConfig = {
99
docs: { autodocs: 'tag' },
1010
staticDirs: ['../public'],
1111
core: { disableTelemetry: true },
12-
webpackFinal: async (config: any, { configType }) => {
13-
config.resolve.modules = [path.resolve(__dirname, '..'), 'node_modules'];
12+
webpackFinal: async (config, { configType }) => {
13+
config.resolve!.modules = [path.resolve(__dirname, '..'), 'node_modules'];
1414

15-
config.resolve.alias = {
16-
...config.resolve.alias,
15+
config.resolve!.alias = {
16+
...config.resolve!.alias,
1717
'@/components': path.resolve(__dirname, '../components'),
1818
'@/util': path.resolve(__dirname, '../util'),
1919
'@/hooks': path.resolve(__dirname, '../hooks'),

0 commit comments

Comments
 (0)