-
-
Notifications
You must be signed in to change notification settings - Fork 722
Labels
good first issueExperience Level - Good for newcomersExperience Level - Good for newcomers
Description
I'm using the oxc-parser v0.64.0 npm module that's called from TypeScript code running in Node.js 23.10.0 to do some custom import graph analysis. First off, I want to say the performance of oxc is incredible, well done!
I've encountered what I suspect is a bug, but might also be user error on my part: module information for a test file doesn't include type re-exports.
Repro code in TypeScript:
import oxc from 'oxc-parser';
const code = `export type { Foo } from './a';`;
const result = oxc.parseSync('/project/b.ts', code, {
sourceType: 'module',
});
console.log(result.module.staticExports);Actual output:
[] // empty array
Expected output:
An array with an entry describing the type export.
Metadata
Metadata
Assignees
Labels
good first issueExperience Level - Good for newcomersExperience Level - Good for newcomers