LearningTypeScript / projects

Hands-on real world projects that will help you exercise your knowledge of TypeScript.
https://learningtypescript.com/projects
240 stars 161 forks source link

fix: assert index as typeof solution in shape-of-types #184

Closed JoshuaKGoldberg closed 1 year ago

JoshuaKGoldberg commented 1 year ago

PR Checklist

Overview

Fixes for newly introduced TypeScript complaints in the test file. It asserts that the index file is the same shape as solution, so that TypeScript doesn't think there are two possible versions of each class.

JoshuaKGoldberg commented 1 year ago

I don't know why CI is still failing, but when I run these changes locally it's all fixed. Weird.