fix(types): components options should accept components defined with defineComponent (#602)
This commit is contained in:
committed by
Evan You
parent
63a6563106
commit
74baea108a
@@ -259,3 +259,11 @@ describe('compatibility w/ createApp', () => {
|
||||
})
|
||||
createApp().mount(comp3, '#hello')
|
||||
})
|
||||
|
||||
describe('defineComponent', () => {
|
||||
test('should accept components defined with defineComponent')
|
||||
const comp = defineComponent({})
|
||||
defineComponent({
|
||||
components: { comp }
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user