-
Notifications
You must be signed in to change notification settings - Fork 663
Open
Labels
Domain: Module ResolutionRelated to module resolution and module checker errorsRelated to module resolution and module checker errorsnode10 resolution
Description
I'm getting an issue where tsgo doesn't recognize an import that is working with normal tsc.
relevant versions:
{
"dependencies": {
"@typescript/native-preview": "^7.0.0-dev.20250529.1",
"bwip-js": "^4.5.1",
"typescript": "^5.8.3"
}
}
To reproduce:
git clone https://github.com/ryanrasti/tsgo-import-mismatch-repro
cd tsgo-import-mismatch-repro
npm i
./node_modules/.bin/tsc # works fine
./node_modules/.bin/tsgo # get error "main.ts:1:23 - error TS2307: Cannot find module 'bwip-js' or its corresponding type declarations."
Metadata
Metadata
Assignees
Labels
Domain: Module ResolutionRelated to module resolution and module checker errorsRelated to module resolution and module checker errorsnode10 resolution