Skip to content

Type checker in IDE and CLI/CI sometimes disagree #4620

@turadg

Description

@turadg

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 infrastructure

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy