You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently integrating React's new experimental compiler into my projects, specifically through the development of a Next.js plugin and a webpack loader, which can be found here: react-compiler-webpack. During this process, I've encountered an issue where the TypeScript definitions for the new compiler are not available on npm. Since the compiler itself is written in TypeScript, having these definitions available would be immensely beneficial for ensuring type safety and enhancing developer productivity, especially in complex projects like Next.js and webpack plugins.
Expected Behavior
The TypeScript definitions for React's new experimental compiler should be published to npm, allowing developers to import and use these definitions seamlessly in TypeScript-based projects.
Current Behavior
The TypeScript definitions are not currently available on npm, which complicates the development process for TypeScript users who need to ensure type safety and utilize IDE features like auto-completion and inline documentation.
Proposed Solution
I kindly request that the TypeScript definitions for the new experimental compiler be published to npm. This would not only aid in my current project but also benefit the broader TypeScript and React communities who are experimenting with or adopting the new compiler.
Thank you for considering this request. I am looking forward to any updates and am happy to assist in the testing or development of these definitions if needed.
The text was updated successfully, but these errors were encountered:
We didn't include types in the npm package because the babel plugin doesn't have an external API that we want to expose. The only way we recommend to consume it is inside of a Babel compatible pipeline as a plugin. Is your use case mainly to type the config that the compiler accepts?
Description
I am currently integrating React's new experimental compiler into my projects, specifically through the development of a Next.js plugin and a webpack loader, which can be found here: react-compiler-webpack. During this process, I've encountered an issue where the TypeScript definitions for the new compiler are not available on npm. Since the compiler itself is written in TypeScript, having these definitions available would be immensely beneficial for ensuring type safety and enhancing developer productivity, especially in complex projects like Next.js and webpack plugins.
Expected Behavior
The TypeScript definitions for React's new experimental compiler should be published to npm, allowing developers to import and use these definitions seamlessly in TypeScript-based projects.
Current Behavior
The TypeScript definitions are not currently available on npm, which complicates the development process for TypeScript users who need to ensure type safety and utilize IDE features like auto-completion and inline documentation.
Proposed Solution
I kindly request that the TypeScript definitions for the new experimental compiler be published to npm. This would not only aid in my current project but also benefit the broader TypeScript and React communities who are experimenting with or adopting the new compiler.
Thank you for considering this request. I am looking forward to any updates and am happy to assist in the testing or development of these definitions if needed.
The text was updated successfully, but these errors were encountered: