We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 004bd18 commit f680074Copy full SHA for f680074
test-dts/index.d.ts
@@ -1,8 +1,5 @@
1
-// This directory contains a number of d.ts assertions using tsd:
2
-// https://github.com/SamVerschueren/tsd
3
-// The tests checks type errors and will probably show up red in VSCode, and
4
-// it's intended. We cannot use directives like @ts-ignore or @ts-nocheck since
5
-// that would suppress the errors that should be caught.
+// This directory contains a number of d.ts assertions
+// use \@ts-expect-error where errors are expected.
6
7
export * from '@vue/runtime-dom'
8
test-dts/setupHelpers.test-d.ts
@@ -1,10 +1,10 @@
-import { withDefaults } from '../packages/runtime-core/src/apiSetupHelpers'
import {
expectType,
defineProps,
defineEmit,
defineEmits,
useContext,
+ withDefaults,
Slots,
9
describe
10
} from './index'
0 commit comments