You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to upgrade an OSS package of mine from [email protected] to @5.5.3, I ran into an error seeming to come from this package.
Expand to see error
Error: target is a string value; tsconfig JSON must be parsed with parseJsonSourceFileConfigFileContent or getParsedCommandLineOfConfigFile before passing to createProgram
at Object.createProgram (/<REDACTED>/node_modules/typescript/lib/typescript.js:123997:15)
at <anonymous> (/<REDACTED>/node_modules/@storybook/react-docgen-typescript-plugin/src/plugin.ts:248:32)
Hi!
When trying to upgrade an OSS package of mine from
[email protected]
to@5.5.3
, I ran into an error seeming to come from this package.Expand to see error
The error appears to be coming from
react-docgen-typescript-plugin/src/plugin.ts
Lines 248 to 251 in ed0849c
It looks like this is the same issue as in nuxt/module-builder#299 that was fixed in https://github.com/unjs/mkdist/pull/224/files by using
ts.convertCompilerOptionsFromJson(...)
.The text was updated successfully, but these errors were encountered: