fix(ts_web): resolve TypeScript nullability and event typing issues across web components
This commit is contained in:
@@ -72,7 +72,7 @@ export class WysiwygModalManager {
|
||||
{
|
||||
name: 'Cancel',
|
||||
action: async (modal) => {
|
||||
modal.destroy();
|
||||
modal!.destroy();
|
||||
resolve(null);
|
||||
}
|
||||
}
|
||||
@@ -158,7 +158,7 @@ export class WysiwygModalManager {
|
||||
{
|
||||
name: 'Done',
|
||||
action: async (modal) => {
|
||||
modal.destroy();
|
||||
modal!.destroy();
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user