mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(all): strong typed events
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
import { Component, Element, Event, EventEmitter, Method, Prop, Watch } from '@stencil/core';
|
||||
import { Mode } from '../..';
|
||||
import { StyleEvent } from '../../utils/input-interfaces';
|
||||
|
||||
|
||||
@Component({
|
||||
@ -39,7 +40,7 @@ export class Label {
|
||||
/**
|
||||
* Emitted when the styles change.
|
||||
*/
|
||||
@Event() ionStyle!: EventEmitter;
|
||||
@Event() ionStyle!: EventEmitter<StyleEvent>;
|
||||
|
||||
@Method()
|
||||
getText(): string {
|
||||
|
Reference in New Issue
Block a user