File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ const AppWithDefine = defineComponent({
1616
1717// accept props
1818// vm is properly typed
19- expectType < string > ( shallowMount ( AppWithDefine , {
20- props : { a : 'Hello' , b : 2 }
21- } ) . vm . a )
19+ expectType < string > (
20+ shallowMount ( AppWithDefine , {
21+ props : { a : 'Hello' , b : 2 }
22+ } ) . vm . a
23+ )
2224
2325// allow extra props, like using `h()`
2426shallowMount ( AppWithDefine , {
@@ -69,9 +71,11 @@ const AppWithArrayProps = {
6971
7072// accept props
7173// vm is properly typed
72- expectType < string > ( shallowMount ( AppWithArrayProps , {
73- props : { a : 'Hello' }
74- } ) . vm . a )
74+ expectType < string > (
75+ shallowMount ( AppWithArrayProps , {
76+ props : { a : 'Hello' }
77+ } ) . vm . a
78+ )
7579
7680// can receive extra props
7781// as they are declared as `string[]`
You can’t perform that action at this time.
0 commit comments