Created
September 30, 2022 07:09
-
-
Save jmayergit/882608e41cac360a580e112d1b3e94c2 to your computer and use it in GitHub Desktop.
Typing Storybook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @ts-check | |
const path = require("path"); | |
module.exports = { | |
// ... | |
/** @param {import('@storybook/builder-webpack5/node_modules/webpack/types').Configuration} config */ | |
webpackFinal: async (config) => { | |
// config is typed accordingly | |
return config; | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment