`contentlayer` generates `export type * from './types'` [here](https://github.com/contentlayerdev/contentlayer/blob/aa4a7d045be33518fd62e9accebd65a57250e4c6/packages/%40contentlayer/core/src/generation/generate-dotpkg.ts#L372) which, surprisingly, is not valid typescript. [TS playground](https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBDAnmYcBUcBmUIFs4DkAdAPRIoDOBQA) says "Only named exports may use 'export type'."
Activity
wrthwhl commentedon Jul 4, 2022
Is there a good way to prevent jest from tripping over this in the meantime?
schickling commentedon Jul 5, 2022
I'll try to fix this as part of the next release. Would you please provide a link to a repo that I can use for a reproduction? @wrthwhl
Fix type wildward re-export (#253)
schickling commentedon Jul 8, 2022
This should be addressed with the
0.2.6release. 🎉wrthwhl commentedon Jul 23, 2022
@schickling Thanks for the fix. And sorry for not responding to your request - I was taking a break.