fix(ts_web): resolve TypeScript nullability and event typing issues across web components
This commit is contained in:
@@ -30,7 +30,7 @@ export class DeesFormSubmit extends DeesElement {
|
||||
accessor disabled = false;
|
||||
|
||||
@property({ type: String })
|
||||
accessor text: string;
|
||||
accessor text!: string;
|
||||
|
||||
@property({ type: String })
|
||||
accessor status: 'normal' | 'pending' | 'success' | 'error' = 'normal';
|
||||
@@ -42,7 +42,7 @@ export class DeesFormSubmit extends DeesElement {
|
||||
accessor size: 'sm' | 'default' | 'lg' | 'icon' | 'small' | 'normal' | 'large' = 'default';
|
||||
|
||||
@property({ type: String })
|
||||
accessor icon: string;
|
||||
accessor icon!: string;
|
||||
|
||||
@property({ type: String })
|
||||
accessor iconPosition: 'left' | 'right' = 'left';
|
||||
|
||||
Reference in New Issue
Block a user