So using Storybook, and their default addon-actions@6.5.16 alongside typescript@5.0.2
When I build npm run storybook I get errors on this plugin
70% sealing plugins DocGenPlugin/USER_PATH_OMMITED_FOR_PRIVACY/node_modules/@storybook/react-docgen-typescript-plugin/dist/generateDocgenCodeBlock.js:37
return insertTsIgnoreBeforeStatement(typescript_1.default.createExpressionStatement(typescript_1.default.createBinary(typescript_1.default.createPropertyAccess(typescript_1.default.createIdentifier(d.displayName), typescript_1.default.createIdentifier("displayName")), typescript_1.default.SyntaxKind.EqualsToken, typescript_1.default.createLiteral(d.displayName))));
^
TypeError: typescript_1.default.createIdentifier is not a function
I've tried using resolutions on my package.json but to no avail
"resolutions": {
"@storybook/react-docgen-typescript-plugin": "npm:react-docgen-typescript-plugin@1.0.5"
},
So using Storybook, and their default addon-actions@6.5.16 alongside typescript@5.0.2
When I build
npm run storybookI get errors on this pluginI've tried using resolutions on my package.json but to no avail