build: update to TypeScript 5.9 beta#30740
Conversation
cf0806c to
a3cf5b4
Compare
| async () => { | ||
| // Add invalid block syntax | ||
| await harness.appendToFile('src/app/app.component.html', '@one'); | ||
| await harness.appendToFile('src/app/app.component.html', '@if-one'); |
There was a problem hiding this comment.
I had to change this test, because in the latest version Angular is a bit more permissive about parsing unsupported blocks.
| case 'update': | ||
| logs.push(`${colors.cyan('UPDATE')} ${eventPath} (${event.content.length} bytes)`); | ||
| logs.push( | ||
| `${colors.cyan('UPDATE')} ${eventPath} (${(event.content as unknown as Buffer).length} bytes)`, |
There was a problem hiding this comment.
This does not seem ideal from a type safety perspective.
Is there some information/context on the changes needed here?
There was a problem hiding this comment.
So as far as I could tell, the types didn't really change but TS is being better at enforcing them. I did start to update the types, but it ended up spanning a ton of files so decided to keep the change simple for now.
There was a problem hiding this comment.
Ok. makes sense.
Can you add some TODOs in there so we can clean this up later on?
There was a problem hiding this comment.
Done, I've added TODOs on all those as unknown as cases.
Updates the repo to the TypeScript 5.9 beta and widens the peer dependency ranges.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Updates the repo to the TypeScript 5.9 beta and widens the peer dependency ranges.