![Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum](https://global.discourse-cdn.com/business7/uploads/codewithmosh/optimized/2X/2/2c0e1122a4c0ba9d96ce84f285f7a7c5ed7ca9ef_2_1024x455.png)
Whenever I pass onClick on a React Icon Component I get a typescript error - React - Code with Mosh Forum
![Simon H酶iberg on X: "TypeScript Tip 馃挕 You can use barrels to make your import statements more manageable. A barrel is a way to rollup exports from several modules into a single Simon H酶iberg on X: "TypeScript Tip 馃挕 You can use barrels to make your import statements more manageable. A barrel is a way to rollup exports from several modules into a single](https://pbs.twimg.com/media/E3G87hwWEAIMgzp.jpg:large)
Simon H酶iberg on X: "TypeScript Tip 馃挕 You can use barrels to make your import statements more manageable. A barrel is a way to rollup exports from several modules into a single
![typescript: export type MyType "is not exported by a module". 路 Issue #3351 路 rollup/rollup 路 GitHub typescript: export type MyType "is not exported by a module". 路 Issue #3351 路 rollup/rollup 路 GitHub](https://user-images.githubusercontent.com/7501201/72786494-c6d97380-3c3e-11ea-998a-238ddb994c0b.png)
typescript: export type MyType "is not exported by a module". 路 Issue #3351 路 rollup/rollup 路 GitHub
![Transpiling Typescript into double packages (CommonJS + ESM) | by Max Boguslavskiy | Level Up Coding Transpiling Typescript into double packages (CommonJS + ESM) | by Max Boguslavskiy | Level Up Coding](https://miro.medium.com/v2/resize:fit:1400/1*BP_naKhwe1H0dnBnDQqaMA.png)
Transpiling Typescript into double packages (CommonJS + ESM) | by Max Boguslavskiy | Level Up Coding
![Auto import suggests different paths based on if any import is exported in parent index.ts 路 Issue #46753 路 microsoft/TypeScript 路 GitHub Auto import suggests different paths based on if any import is exported in parent index.ts 路 Issue #46753 路 microsoft/TypeScript 路 GitHub](https://user-images.githubusercontent.com/5993909/140967810-1d4dc5e7-c0e4-4059-a3ca-1e6b48a1a06a.png)