fix: vitest typings (#8239)

This commit is contained in:
三咲智子 2022-06-13 23:06:41 +08:00 committed by GitHub
parent 002d251eed
commit bf02fdf89a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import DefineOptions from 'unplugin-vue-define-options/rollup'

View File

@ -2,7 +2,7 @@
"extends": "./tsconfig.node.json",
"compilerOptions": {
"composite": true,
"types": ["node", "vitest"]
"types": ["node"]
},
"include": ["**/vite.config.*", "**/vitest.config.*", "**/vite.init.*"],
"exclude": ["docs"]

View File

@ -1,4 +1,4 @@
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import Vue from '@vitejs/plugin-vue'
import VueJsx from '@vitejs/plugin-vue-jsx'
import DefineOptions from 'unplugin-vue-define-options/vite'