Argument of type '{ foo(): void; bar: () => void; baz: typeof baz; fun: () => void; iife: number; }' is not assignable to parameter of type 'ComponentOptionsBase<{ [x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined; } | { [x: `on${Capitalize<string>}`]: ((...args: never) => any) | undefined; }, {}, {}, {}, {}, ComponentOptionsMixin, ... 6 more ..., {}> & { ...; } & ThisType<...> & { ...; }'.