Skip to content

Commit f680074

Browse files
committed
chore: fix dts test
1 parent 004bd18 commit f680074

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

test-dts/index.d.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -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.
1+
// This directory contains a number of d.ts assertions
2+
// use \@ts-expect-error where errors are expected.
63

74
export * from '@vue/runtime-dom'
85

test-dts/setupHelpers.test-d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { withDefaults } from '../packages/runtime-core/src/apiSetupHelpers'
21
import {
32
expectType,
43
defineProps,
54
defineEmit,
65
defineEmits,
76
useContext,
7+
withDefaults,
88
Slots,
99
describe
1010
} from './index'

0 commit comments

Comments
 (0)