-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed as not planned
Labels
👀 no/externalThis makes more sense somewhere elseThis makes more sense somewhere else👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and discussions and couldn’t find anything (or linked relevant results below)
Affected package
@mdx-js/typescript-plugin@0.1.3 and the latest vscode extension (I think)
Steps to reproduce
- Add
"**/*"to the tsconfig'sinclude - Set
mdx.checkMdxtotrue - Try to import a file that is not a TS or JS file
Here's my tsconfig:
{
"extends": "astro/tsconfigs/strict",
"include": [
".astro/types.d.ts",
"**/*"
],
"exclude": [
"dist"
],
"compilerOptions": {
"plugins": [
{
"name": "@mdx-js/typescript-plugin"
},
{
"name": "@astrojs/ts-plugin",
},
],
"paths": {
"@/*": [
"./src/*"
],
"~/*": [
"./src/*"
]
}
},
"mdx": {
// Enable strict type checking in MDX files.
"checkMdx": true
}
}
Actual behavior
I can only see TS and JS files
Expected behavior
I should see all files matched by tsconfig include
Runtime
node@24 and typescript@5.9
Package manager
bun@1.3.5
Operating system
macOS Sequoia 15.5
Build and bundle tools
Astro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
👀 no/externalThis makes more sense somewhere elseThis makes more sense somewhere else👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on