chore: fix dts test

This commit is contained in:
Evan You 2021-06-26 21:35:00 -04:00
parent 004bd18cf7
commit f680074468
2 changed files with 3 additions and 6 deletions

7
test-dts/index.d.ts vendored
View File

@ -1,8 +1,5 @@
// This directory contains a number of d.ts assertions using tsd: // This directory contains a number of d.ts assertions
// https://github.com/SamVerschueren/tsd // use \@ts-expect-error where errors are expected.
// The tests checks type errors and will probably show up red in VSCode, and
// it's intended. We cannot use directives like @ts-ignore or @ts-nocheck since
// that would suppress the errors that should be caught.
export * from '@vue/runtime-dom' export * from '@vue/runtime-dom'

View File

@ -1,10 +1,10 @@
import { withDefaults } from '../packages/runtime-core/src/apiSetupHelpers'
import { import {
expectType, expectType,
defineProps, defineProps,
defineEmit, defineEmit,
defineEmits, defineEmits,
useContext, useContext,
withDefaults,
Slots, Slots,
describe describe
} from './index' } from './index'