is missing the following properties from type 'EventEmitter ': emit, subscribe, closed, observers, and 15 more.
Покажите код
export default { title: 'Toggle Button', component: ToggleButtonComponent, decorators: [ moduleMetadata({ imports: [], }), ], } as Meta<ToggleButtonComponent>; const Template: Story<ToggleButtonComponent> = ( args: ToggleButtonComponent ) => ({ props: args }); export const Default = Template.bind({}); Default.args = { className: '', tooltip: '', disabled: false, value: false, btnClicked: action('Click'), };
Покажите стектрейс ошибки
Не компилится
Обсуждают сегодня