🛠️ Frontend Infrastructure @ yotpo.com
Why TS team uses `𝗧𝘆𝗽𝗲[]` for error msgs? Isn't the utility `𝗥𝗲𝗰𝗼𝗿𝗱<𝗧𝘆𝗽𝗲>` showing the preference? Isn't `𝗧𝘆𝗽𝗲[][]` sillier when compared to `𝗔𝗿𝗿𝗮𝘆<𝗔𝗿𝗿𝗮𝘆<𝗧𝘆𝗽𝗲>>`, especially if you read it out load.
I feel there is a clear winner?
Why TS team uses `𝗧𝘆𝗽𝗲[]` for error msgs? Isn't the utility `𝗥𝗲𝗰𝗼𝗿𝗱<𝗧𝘆𝗽𝗲>` showing the preference? Isn't `𝗧𝘆𝗽𝗲[][]` sillier when compared to `𝗔𝗿𝗿𝗮𝘆<𝗔𝗿𝗿𝗮𝘆<𝗧𝘆𝗽𝗲>>`, especially if you read it out load.
I feel there is a clear winner?
In breakproof.dev we snapshot existing errors and fail only for new ones. Allows us to upgrade TS or make it stricter now, and gradually fix errors
In breakproof.dev we snapshot existing errors and fail only for new ones. Allows us to upgrade TS or make it stricter now, and gradually fix errors
It only skips checks for .𝗱.𝘁𝘀 files. If you develop a 𝗧𝗦 lib in your own monorepo used only by your projects, you still must run 𝘁𝘀𝗰 for your lib. Otherwise checking your project for TS errors will also show the lib errors
It only skips checks for .𝗱.𝘁𝘀 files. If you develop a 𝗧𝗦 lib in your own monorepo used only by your projects, you still must run 𝘁𝘀𝗰 for your lib. Otherwise checking your project for TS errors will also show the lib errors