-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update tsconfig-paths #91
Conversation
Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
New dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No new dependency issues detected in pull request Bot CommandsTo ignore an alert, reply with a comment starting with Pull request alert summary
📊 Modified Dependency Overview: 🚮 Removed packages: tsconfig-paths@3.12.0 |
This is needed to support projects using TypeScript 5.0 and using array extends in Storybook. storybookjs/storybook#21792 |
I ran into this problem in TS 5.0 when I used extends as an array. This fix is very important. I look forward to seeing it merged. I have created a patch file that can be used with patch-package to address this issue. |
would be great if this could be merged! was just running into the |
Waiting on this as well. Storybook with TS 5.0 and Sveltekit depends on this. |
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received an instance of Array |
// package.json
{
"imports": {
"#root/*.js": "./*.js"
}
}
// main.js:
const Source = require('#root/path/to/Source.js');
// Source.js:
module.exports = class Source {
// ...
} |
Hey @egoist , do you have some time to take a look on this issue? |
Please merge this. |
@egoist would you be able to look at merging this perhaps? Storybook needs this to support newer TS5 features, see: storybookjs/storybook#21792 🙏🙏🙏 |
+1 for storybook support |
Thank you @egoist ❤️ |
🎉 This PR is included in version 3.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
close: #85