Skip to content

typecheck settings is not respected #367

@Eliav2

Description

@Eliav2

Describe the bug

typecheck settings is not respected

tmp

in the gif you can see:

  • running npx vitest correctly check typing.
  • running the test from the IDE extension does not catch type error, even though this file only checks for typing only
  • this extension should respect filed *.test-d.ts for type tests only tests.

Reproduction

first of all, awesome extension!

to reproduce:

git clone https://github.com/Eliav2/express-typed
// or, checkout exact commit (in case the repo would be changed)
git clone --bare https://github.com/Eliav2/express-typed.git
cd express-typed.git
git checkout 6aec67bfe1c849edfac0a85d41a1df0faa60cb0d

now run npx vitest at root directory, or run tests from the IDE.

OR small example

from vitest docs - Play Online

This extension would not correctly catch type.test-d.ts type errors.

Output

.

Version

v0.8.6

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3-minor-bugAn edge case that only affects very specific usage (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions