Closed AStoker closed 10 months ago
And while I'm at it, it actually looks like the issue comes at the end of the previous step (https://storybook.js.org/tutorials/intro-to-storybook/angular/en/composite-component/) where that type casting is removed but not mentioned. Likely just needs to have that diff shown there.
While going through the Angular documentation I ran into an issue where I was getting a compilation error saying
While going through and determining what went wrong, I compared against the commit referenced (https://github.com/chromaui/learnstorybook-code/commit/eb8da4c#diff-72eb450fab0a83eb8601422853c51299c37422e60f976305fcbae9776d44e2e6) and saw that there was a change that wasn't listed in the
pure-task-list.component.ts
diff on the tutorial page https://storybook.js.org/tutorials/intro-to-storybook/angular/en/data/. Essentially, on the tutorial page the only instruction was to renametask-list
topure-task-list
. But in addition to that you need to remove the typecasting of<Event>
on theonPinTask
andonArchiveTask
outputs. When you look at the previous step, you define those outputs like this:But what is required on the next step is this