Skip to content

Adding cypress breaks type checking #152

@groundfloorwebb

Description

@groundfloorwebb

First off, thanks for including a typescript/cypress option, having suffered through configuring this in Vue 2 it's very much appreciated.

I'm in the process of shifting our toolchain from Vue 2 to 3 and I'm prototyping a starter project that matches our current setup. Critically this means Vite, Typescript, Eslint and Cypress. Everything works great until I add cypress to my options, as soon as I do running npm run type-check stops reporting type errors. I'm running node v18.7.0.

To reproduce

  1. npm init vue@3
  2. Select typescript and cypress.
  3. Add a simple type error like const foo: boolean = 'bar'; to src/main.ts.
  4. npm run type-check
  5. No errors reported.

Running the same test but omitting the cypress option will produce errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No 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