File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/fixtures/basic-types/app Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -386,8 +386,8 @@ describe('components', () => {
386386
387387 it ( 'correctly includes event types with island components' , ( ) => {
388388 const Comp = defineComponent ( {
389- __typeProps : {
390- onClick : Function as ( foo : string ) => any ,
389+ __typeProps : { } as {
390+ onClick : ( foo : string ) => any
391391 } ,
392392 } )
393393 const IslandComp = Comp as unknown as IslandComponent < typeof Comp >
@@ -405,8 +405,8 @@ describe('components', () => {
405405
406406 it ( 'correctly includes event types with lazy components' , ( ) => {
407407 const Comp = defineComponent ( {
408- __typeProps : {
409- onClick : Function as ( foo : string ) => any ,
408+ __typeProps : { } as {
409+ onClick : ( foo : string ) => any
410410 } ,
411411 } )
412412 const LazyComp = Comp as unknown as LazyComponent < typeof Comp >
You can’t perform that action at this time.
0 commit comments