Steps to reproduce
package.json
{
"dependencies": {
"@stylexjs/babel-plugin": "0.16.2"
}
}
tsconfig.json
{
"compilerOptions": {
"skipLibCheck": true
}
}
stylex.ts
import { Options } from '@stylexjs/babel-plugin'
Behavior with typescript@5.9
No errors.
Behavior with tsgo
stylex.ts:1:10 - error TS2305: Module '"@stylexjs/babel-plugin"' has no exported member 'Options'.
1 import { Options } from '@stylexjs/babel-plugin'
~~~~~~~
Found 1 error in stylex.ts:1