A type augmentation package that conditionally exposes TypeScript compiler internal types when the consuming project's tsconfig.json includes 'ts-expose-internals' in the `customConditions` field. Version 1.0.0-empty.0 is an empty placeholder, effectively doing nothing; there is no stable release with actual functionality. This is a proof-of-concept for conditional type augmentation, not for production use. The package ships with TypeScript type definitions and targets developers working on TypeScript compiler internals or tooling that requires access to hidden APIs.
npm install ts-expose-internals-conditionallyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to enable internal types by setting customConditions and importing the package as side-effect.
Remove this dependency or wait for a future stable release.
Ensure tsconfig.json has 'customConditions' array containing 'ts-expose-internals'.
Pin your TypeScript version and test after updates.
Use only for type definitions; do not rely on runtime exports.
Consider using @ts-expose-internals or forking TypeScript.
Run npm install ts-expose-internals-conditionally@latest (once stable release exists) or use another package.
Add 'customConditions': ['ts-expose-internals'] to compilerOptions in tsconfig.json.