-
Notifications
You must be signed in to change notification settings - Fork 250
Labels
toolingrepo-wide infrastructurerepo-wide infrastructure
Description
Describe the bug
Presently, successful type checking depends on a --maxNodeModulesJsDepth
flag which IDE use doesn't support. In some cases, @ts-expect-error
can't be used because the IDE and CLI/CI disagree about the set of errors.
Expected behavior
Set of errors reported by type checker is consistent no matter where it's run.
Additional context
#4560 will fix that but that's a work item and this ticket is the bug itself. Easier to find by title search and more clear when linked to from code as to why. When that's resolved it would be good to find the ts-ignore
we resorted to and replace them with ts-expect-error
where possible. I'm assigning this to myself to take care of that.
Metadata
Metadata
Assignees
Labels
toolingrepo-wide infrastructurerepo-wide infrastructure