Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error in 0.6.2 #20

Closed
charliematters opened this issue Mar 15, 2024 · 2 comments
Closed

Type error in 0.6.2 #20

charliematters opened this issue Mar 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@charliematters
Copy link

Bug description

Type error in 0.6.2 (not present in 0.5.1)

Description

The import path for the types is incorrect, causing type errors on the silenceMessage config option.

In node_modules/vitest-fail-on-console/dist/src/index.d.ts, there is this import:

import { VitestFailOnConsoleFunction } from './src/types';

...however there is no src folder - the types.d.ts file is a sibling

Expected outcome

Actual outcome

Screenshots / Video / StackTrace

@charliematters charliematters added the bug Something isn't working label Mar 15, 2024
@thomasbrodusch thomasbrodusch self-assigned this Mar 18, 2024
@thomasbrodusch
Copy link
Owner

thomasbrodusch commented Mar 18, 2024

Thanks @charliematters for raising this issue!
It has been fixed in commit f4e4a21 and published on v0.6.3 available on NPM 👌

@charliematters
Copy link
Author

That's great - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants