0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

「Do not use a triple slash reference for vitest/config」が発生した

0
Posted at

やりたいこと

Vitest の除外対象にデフォルトの除外設定を含めたい。

エラー内容

Do not use a triple slash reference for vitest/config, use `import` style instead.

原因

vitest.config.ts で triple-slash reference を使用していました。

/// <reference types="vitest/config" />

vitest/configimport するように変更したため、triple-slash reference が不要になっていました。

解決策

vitest.config.ts から以下を削除しました。

/// <reference types="vitest/config" />
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?