If one defines the following in package.json then type checking is not working correctly:
{
"zshy": {
"exports": "./src/index.ts",
"cjs": false
}
}
I debugged the code, the type checking is performed, and diagnostic array gets populated, but later filteredDiagnostics array gets empty because config.format is esm, not cjs so everything get filtered out.